publishpress / PublishPress-Future

This plugin was known as "Post Expirator", and now it is called "PublishPress Future".
https://wordpress.org/plugins/post-expirator/
7 stars 11 forks source link

Uncaught Error: Call to undefined function #1036

Closed marco910 closed 1 week ago

marco910 commented 1 week ago

Hi there,

On one of my client's websites where PublishPress Future (free version) is installed, a WordPress error message occurred.

Ein Fehler vom Typ E_ERROR wurde in der Zeile 184 der Datei /var/www/html/wp-content/plugins/post-expirator/src/Modules/Workflows/Controllers/ManualPostTrigger.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function PublishPress\Future\Modules\Workflows\Controllers\error_log() in /var/www/html/wp-content/plugins/post-expirator/src/Modules/Workflows/Controllers/ManualPostTrigger.php:184
Stack trace:
#0 /var/www/html/wp-includes/class-wp-hook.php(324): PublishPress\Future\Modules\Workflows\Controllers\ManualPostTrigger->enqueueBlockEditorScripts()
#1 /var/www/html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#2 /var/www/html/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/html/wp-admin/site-editor.php(157): do_action()
#4 {main}
  thrown

This always happens when an admin visits the https://www.domain.com/wp-admin/site-editor.php?path=/patterns URL in the WordPress backend.

WordPress version 6.6.2 PublishPress Future version 4.1.0 PHP version 8.2.25