Skip to content

E_ERROR in banned.inc.php #1

@coevolving

Description

@coevolving

My WordPress installation is giving an ugly message, presumably because someone is being banned.

Error Details
=============
An error of type E_ERROR was caused in line 37 of the file /home/MYACCOUNT/public_html/blogs/wp-content/plugins/bad-behavior-main/bad-behavior/banned.inc.php. Error message: Uncaught Error: Call to undefined function wp_rand() in /home/MYACCOUNT/public_html/blogs/wp-content/plugins/bad-behavior-main/bad-behavior/banned.inc.php:37
Stack trace:
#0 /home/MYACCOUNT/public_html/blogs/wp-content/plugins/bad-behavior-main/bad-behavior/core.inc.php(52): bb2_housekeeping()
#1 /home/MYACCOUNT/public_html/blogs/wp-content/plugins/bad-behavior-main/bad-behavior/core.inc.php(172): bb2_banned()
#2 /home/MYACCOUNT/public_html/blogs/wp-content/plugins/bad-behavior-main/bad-behavior-wordpress.php(273): bb2_start()
#3 /home/MYACCOUNT/public_html/blogs/wp-settings.php(545): include_once('/home/MYACCOUNT/...')
#4 /home/MYACCOUNT/public_html/blogs/wp-config.php(91): require_once('/home/MYACCOUNT/...')
#5 /home/MYACCOUNT/public_html/blogs/wp-load.php(50): require_once('/home/MYACCOUNT/...')
#6 /home/MYACCOUNT/public_html/blogs/wp-login.php(12): require('/home/MYACCOUNT/...')
#7 {main}
  thrown

I'm running PHP 8.3 .

Thanks for the Bad Behavior update. I installed it last week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions