• Paderman

    (@paderman)


    This plugin was downloaded but at activating I get following error message:

    WP Version: 5.9.1
    PHP Version: 8.1.1

    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Uncaught Error: Call to undefined function error_log() in /home/users/USER/www/DOMAIN.TLD/wp-includes/wp-db.php:1582 Stack trace: #0 /home/users/USER/www/DOMAIN.TLD/wp-includes/wp-db.php(2103): wpdb->print_error() #1 /home/users/USER/www/DOMAIN.TLD/wp-includes/wp-db.php(2715): wpdb->query() #2 /home/users/USER/www/DOMAIN.TLD/wp-content/plugins/content-egg/application/models/Model.php(153): wpdb->get_var() #3 /home/users/USER/www/DOMAIN.TLD/wp-content/plugins/content-egg/application/models/AutoblogModel.php(555): ContentEgg\application\models\Model->count() #4 /home/users/USER/www/DOMAIN.TLD/wp-content/plugins/content-egg/application/Installer.php(55): ContentEgg\application\models\AutoblogModel::isActiveAutoblogs() #5 /home/users/USER/www/DOMAIN.TLD/wp-includes/class-wp-hook.php(307): ContentEgg\application\Installer::activate() #6 /home/users/USER/www/DOMAIN.TLD/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #7 /home/users/USER/www/DOMAIN.TLD/wp-includes/plugin.php(474): WP_Hook->do_action() #8 /home/users/USER/www/DOMAIN.TLD/wp-admin/plugins.php(194): do_action() #9 {main} thrown in /home/users/USER/www/DOMAIN.TLD/wp-includes/wp-db.php on line 1582

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

    (@keywordrush)

    Please try php 7

    Thread Starter Paderman

    (@paderman)

    Thank you for your suggestion, but comes an update to PHP 8 in future?

    Plugin Author keywordrush

    (@keywordrush)

    This has already been done, but we are still releasing minor fixes depending on the server settings.

    Tim W

    (@timwhitlock)

    How can the PHP error_log function be missing? It’s present in PHP 8.1.1. Do you have some kind of custom PHP binary?

    Plugin Author keywordrush

    (@keywordrush)

    We do not use any custom libraries. This error occurs in WP core files, not plugin code

    Tim W

    (@timwhitlock)

    I can see that. My question is to the OP.

    Their PHP binary appears to be missing a built in function. I don’t know how that’s possible.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘No activating possible – Fatal error: Uncaught Error (PHP 8, current WP)’ is closed to new replies.