Fatal error with v1.0.20 when using as mu-plugin
-
Hi Felix,
thanks for providing and maintaining this plugin, much appreciated!
Upgrading to
v1.0.20
I’ve noticed a fatal error upon deployment:Fatal error: Uncaught Error: Call to undefined function wp_get_current_user() in /srv/www/example.com/releases/20230627111755/web/wp/wp-includes/capabilities.php:873
This is due to us including your plugin as an mu-plugin and
wp_get_current_user()
not being available yet…The code in question resides on line 758 in
/admin/class-extended-post-status-admin.php
and is attached to thegettext
-filter.I am not sure if this can be re-written somehow to allow for the plugin to continue working as a mu-plugin…? Any ideas?
Fixing the version to
v1.0.19
for the time being.Thanks for your input & regards!
- The topic ‘Fatal error with v1.0.20 when using as mu-plugin’ is closed to new replies.