Call to undefined function
-
I have wordpress Version 4.9.8 with php 7.2 and Block Referer Spam Version 1.1.9.2. I am getting the following errors in my error log several times a day. I have the latest version of wp-admin/includes/misc.php Any idea what could be the cause or/and how to fix it?
[Tue Oct 30 09:14:02.393120 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to undefined function WPBlockRefererSpam\\insert_with_markers() in /home/siteDirectorie/public_html/12/wp-content/plugins/block-referer-spam/lib/RefSpamBlocker.php:226, referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419557 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: Stack trace:, referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419587 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #0 /home/siteDirectorie/public_html/12/wp-content/plugins/block-referer-spam/lib/RefSpamBlocker.php(547): WPBlockRefererSpam\\RefSpamBlocker->updateHtaccess(), referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419604 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #1 /home/siteDirectorie/public_html/12/wp-includes/class-wp-hook.php(286): WPBlockRefererSpam\\RefSpamBlocker->dailyCronjob(), referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419621 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #2 /home/siteDirectorie/public_html/12/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(”, Array), referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419637 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #3 /home/siteDirectorie/public_html/12/wp-includes/plugin.php(515): WP_Hook->do_action(Array), referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419653 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #4 /home/siteDirectorie/public_html/12/wp-cron.php(126): do_action_ref_array(‘dailyCronjob’, Array), referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419668 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: #5 {main}, referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
[Tue Oct 30 09:14:02.419683 2018] [fcgid:warn] [pid 30488] [client 115.70.30.6:53146] mod_fcgid: stderr: thrown in /home/siteDirectorie/public_html/12/wp-content/plugins/block-referer-spam/lib/RefSpamBlocker.php on line 226, referer: https://mysite.com/12/wp-cron.php?doing_wp_cron=1540862041.8770101070404052734375
- The topic ‘Call to undefined function’ is closed to new replies.