Warning message when a student starts a course

Home Forums Legacy Support Support queries Other issues Warning message when a student starts a course

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #311326
    jackal
    Spectator
    Hi! A Warning appears on course status page when a student starts a course. Warning: call_user_func_array() expects parameter 1 to be a valid callback, function '__return_true ' not found or invalid function name in /home/.../other/class-wp-hook.php on line 287 A more detailed video is attached under as a private comment Hope to hear from you ASAP.
    #311327
    jackal
    Spectator
    This reply has been marked as private.
    #311695
    Veronica
    Moderator
    hi, Notices /warnings are nothing to worry about. it has nothing to do with the actual functionality. but if you find any fatal error only then you have to worry about it. What are PHP Notices? PHP notices are the least important. As stated on the official PHP website, you will see PHP notices when: the script encountered something that could indicate an error, but could also happen in the normal course of running a script. Refer https://www.ostraining.com/blog/wordpress/warnings/. NOTE: THE ABOVE LINES ARE NOT AN ISSUE. THAT IS JUST NOTICE, YOU DO NOT NEED TO WORRY ABOUT IT. EVERYTHING WORKS FINE. you could hide these notices, follow this link: https://www.wpbeginner.com/wp-tutorials/how-to-turn-off-php-errors-in-wordpress if you found ant FATAL ERROR then let us know
    #311767
    jackal
    Spectator
    Hi Veronica! It is good to hear that this is nothing to worry about! I will switch off reporting and notification from config file, though it might hide important notification as well. Regards, Anas
    #311932
    Veronica
    Moderator
    hi, no it would not because the debug mode is used to check the fatal errors and if any fatal error will occur then it will show some impact on the site functionality like it will stop working and will show critical error on the site on the site
    #311968
    jackal
    Spectator
    Hi Veronica! Thank you for your support. You can close this topic.
    #312334
    Veronica
    Moderator
    thanks for the confirmation closing this topic thanks
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Warning message when a student starts a course’ is closed to new replies.