PHP error in lastest version
-
Hello,
I’m using the latest version (4.2.0), when inserting a post via PHP custom code, there is a PHP error :
Undefined constant "Simple_History\Loggers\SIMPLE_HISTORY_LOG_DEBUG" /wp-content/plugins/simple-history/loggers/class-logger.php(1192): Simple_History\Loggers\Logger->append_initiator_to_context(Array, Array)
/wp-content/plugins/simple-history/loggers/class-logger.php(848): Simple_History\Loggers\Logger->log('info', 'Updated {post_t…', Array)
/wp-content/plugins/simple-history/loggers/class-logger.php(1009): Simple_History\Loggers\Logger->log_by_message_key('info', 'post_updated', Array)
/wp-content/plugins/simple-history/loggers/class-post-logger.php(624): Simple_History\Loggers\Logger->info_message('post_updated', Array)
/wp-content/plugins/simple-history/loggers/class-post-logger.php(675): Simple_History\Loggers\Post_Logger->maybe_log_post_change(Array)
/wp-includes/class-wp-hook.php(308): Simple_History\Loggers\Post_Logger->on_transition_post_status('publish', 'draft', Object(WP_Post))
/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
/wp-includes/post.php(5345): do_action('transition_post…', 'publish', 'draft', Object(WP_Post))
/wp-includes/post.php(4605): wp_transition_post_status('publish', 'draft', Object(WP_Post))
/wp-includes/post.php(4817): wp_insert_post(Array, false, true)
/wp-content/plugins/client-name-obfuscated-import/includes/import.php(183): wp_update_post(Array)
/wp-content/plugins/client-name-obfuscated-import/includes/import.php(89): import_program(Object(stdClass), Array, '10', Array)
/wp-includes/class-wp-hook.php(308): client-name-obfuscated_import_execute()
/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
/wp-includes/plugin.php(565): WP_Hook->do_action(Array)
/wp-content/plugins/advanced-cron-manager/inc/Cron/EventsActions.php(146): do_action_ref_array('client-name-obfuscated_immole…', Array)
/wp-includes/class-wp-hook.php(308): underDEV\AdvancedCronManager\Cron\EventsActions->run('')
/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
/wp-admin/admin-ajax.php(188): do_action('wp_ajax_acm/eve…')My website PHP’s version is 8.0
Is that the correct channel to tell you there is a bug ?
Have a nice day,
Florian
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘PHP error in lastest version’ is closed to new replies.