Support » Plugin: Cerber Security & Limit Login Attempts » PHP Fatal error

  • 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 2 replies - 1 through 2 (of 2 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.

    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.