• Resolved roxchou

    (@roxchou)


    Hi Gioni,

    more errors are showing up in the error log:

    PHP Fatal error: Call to undefined function cerber_is_admin_page() in /home/public_html/wp-content/plugins/wp-cerber/settings.php on line 50

    Thank you for your time!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author gioni

    (@gioni)

    Hi roxchou!

    I’m wondering how you got that. It’s impossible in the ordinary environment. Give me additional details please.

    Thread Starter roxchou

    (@roxchou)

    Hi Gioni,

    the errors started after I updated cerber to the latest version:

    [09-Jun-2017 13:14:32 UTC] WordPress database error Can't DROP 'begin_end'; check that column/key exists for query ALTER TABLE cerber_acl DROP INDEX begin_end made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wp-cerber/wp-cerber.php'), cerber_upgrade, cerber_upgrade_db
    [09-Jun-2017 13:14:32 UTC] WordPress database error Duplicate key name 'begin_end_tag' for query ALTER TABLE cerber_acl ADD INDEX begin_end_tag (ip_long_begin, ip_long_end, tag) made by require('wp-blog-header.php'), require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-settings.php'), include_once('/plugins/wp-cerber/wp-cerber.php'), cerber_upgrade, cerber_upgrade_db
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_add_xml_to_upload_filetypes' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_save_settings' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_modify_layouts' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_create_media_post' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Fatal error:  Call to undefined function cerber_is_admin_page() in /home/public_html/wp-content/plugins/wp-cerber/settings.php on line 50
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_add_xml_to_upload_filetypes' not found or invalid function name in /public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_save_settings' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_modify_layouts' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Warning:  call_user_func_array() expects parameter 1 to be a valid callback, function 'ot_create_media_post' not found or invalid function name in /home/public_html/wp-includes/class-wp-hook.php on line 298
    [10-Jun-2017 21:45:05 UTC] PHP Fatal error:  Call to undefined function cerber_is_admin_page() in /home/public_html/wp-content/plugins/wp-cerber/settings.php on line 50

    It’s important to note that this has not affected cerber or the wordpress site from functioning. I just monitor the error_log and saw these error popping so I thought I should let you know and/or at least figure out why these errors are being logged.

    Thank you for your time and patience!

    Plugin Author gioni

    (@gioni)

    Hi!

    That’s weird. I suspect that you have some plugin or theme that loads admin parts of WordPress when rendering a public page. Could you check what exact HTTP request lead to generating those errors? I mean could you reproduce those error and check out the address bar of your browser.

    Plugin Author gioni

    (@gioni)

    Hi @roxchou! How is it going?

    Thread Starter roxchou

    (@roxchou)

    Hi Gioni,

    I can’t tell you why this is happening but I’ve gotten the same error on 3 completely different sites using different themes, plugins and configuration.

    On one site’s error log, I’m seeing the error below was logged on 5/9/17, 6/2/17, 6/11/17 and 6/19/17. On another site, this same error was logged on 5/28, 6/4/17 & 6/19/17.

    The website I started the support for, this error log was logged twice today.

    PHP Fatal error: Call to undefined function cerber_is_admin_page() in /wp-content/plugins/wp-cerber/settings.php on line 50

    So I’m not really sure what is going on.

    Thank you for your time!

    Thread Starter roxchou

    (@roxchou)

    I have not seen these errors for a while. Everything looks good!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘PHP Fatal error’ is closed to new replies.