PHP8 issues / WP Cron stuck with PHP 8.5
-
Hi,
when WP Monalisa is activated, i see issues to execute wp cron. I enabled wp debug log and found that there is a stack trace and a wordpress hard fail condition, the system never shows. I came along as i found that WP cron is not running properly.
Could you please check whenever the plugin is useable with PHP 8.5.10?
The issue of course does not happen, when WP Monalisa is deactivated.[20-Sep-2026 18:02:15 UTC] PHP Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /var/www/vhosts/battlefield-inside.de/httpdocs/wp-includes/capabilities.php:914
Stack trace: 0 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-includes/functions.php(3698): current_user_can() 1 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-includes/formatting.php(2097): get_allowed_mime_types() 2 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-content/plugins/wp-monalisa/wpml-comment.php(24): sanitize_file_name() 3 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-content/plugins/wp-monalisa/wp-monalisa.php(42): require_once(‘…’) 4 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-settings.php(597): include_once(‘…’) 5 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-config.php(124): require_once(‘…’) 6 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-load.php(50): require_once(‘…’) 7 /var/www/vhosts/battlefield-inside.de/httpdocs/wp-cron.php(46): require_once(‘…’) 8 {main}thrown in /var/www/vhosts/battlefield-inside.de/httpdocs/wp-includes/capabilities.php on line 914
Thank you in advance.
You must be logged in to reply to this topic.