• Resolved mkics.bharuch

    (@mkicsbharuch)


    I am receiving the following meesage. as far as I can recalll, it is after updating to 2.0.3.

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘draw_main_page’ was given in D:\wamp\www\wordpress\wp-includes\plugin.php on line 403

    hope someone will help me to resolve the issue.

    https://www.ads-software.com/extend/plugins/ssquiz/

Viewing 4 replies - 1 through 4 (of 4 total)
  • This is because the plugin uses short PHP opening tags twice in the admin-main.php file. This needs to be changed! You can update the file your self, just change <? to <?php on lines 244 and 333 in the admin-main.php plugin file.

    Thread Starter mkics.bharuch

    (@mkicsbharuch)

    Genius !

    It worked like a breeze !

    Awesome ! Can you guide me how did you figured it out ? I am a toad in php & surprised which debugging technique you have used. I will be highly obliged if you can guide me to detect such kind of errors. ( if it comes in future )

    Really great !

    I had the same error message, but I could fix it thanks to J.D. Grimes. But now, when I′m trying to create a new quiz, I fill all the fields and I press the save button, but the form is not save, so I cant add quiz.

    Thread Starter mkics.bharuch

    (@mkicsbharuch)

    Yes !

    I also have a similar type of problem.

    When I click on adding a question , it opens a form , I add a question in the provided box & go on adding probable answers. I can see the save button till I add 2 answers but after adding third answer the save button disappears from the screen & i am unable to scroll / move the window to see the button.

    How can i click on save button when i don’t save it?
    It is not there on the screen.
    My screen Resolution is 1024 X 768 & it is maximum i can not go beyond that.

    Please give me solution if any one has.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error after upgrading to 2.0.3’ is closed to new replies.