Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
reijo

PHP 8.1 Fatal error: unexpected token readonly

 Fatal error: Uncaught Error: syntax error, unexpected token "readonly", expecting identifier
in /var/www/html/wp-content/plugins/admin-columns-pro/admin-columns/classes/Admin/Notice/ReadOnly.php on line 9

Call stack:

AC\Autoloader::autoload()
wp-content/plugins/admin-columns-pro/admin-columns/classes/AdminColumns.php:73
AC\AdminColumns::__construct()
wp-content/plugins/admin-columns-pro/admin-columns/classes/AdminColumns.php:42
AC\AdminColumns::instance()
wp-content/plugins/admin-columns-pro/admin-columns/api.php:15
AC()
wp-content/plugins/admin-columns-pro/admin-columns/codepress-admin-columns.php:46
{closure}()
wp-includes/class-wp-hook.php:303
WP_Hook::apply_filters()
wp-includes/class-wp-hook.php:327
WP_Hook::do_action()
wp-includes/plugin.php:470
do_action()
wp-settings.php:556
require_once()
wp-config.php:118
require_once()
wp-load.php:50
require_once()
wp-admin/admin.php:34
require_once()
wp-admin/index.php:10
1 month, 2 weeks ago
Stefan
Developer

Thanks for noticing. I don’t currently have an 8.1 environment running, but I guess we use a classname that is reserved for PHP8.1. I’ll make sure that we use another name for that class in the next version. I’ll send you a patched version to your registered email in the meantime.

1 month, 2 weeks ago
Stefan
Developer

The issue is patched and released as version 5.6.4.
You should be able to update the plugin
Thanks again for your feedback.

1 month, 2 weeks ago
reijo

Thanks. Had to revert the dev env to 8.0 because too many weird bugs in too many things :)

1 month, 2 weeks ago

You must be logged in to reply to this topic.