Error occurring on php 8
-
Fatal error: Uncaught Error: Non-static method Cherry_Picker_Admin::get_adapters_list() cannot be called statically in /var/www/vhosts/XXXXX/wp-content/plugins/cherry-picker/admin/class-cherry-picker-admin.php:111 Stack trace: #0 /var/www/vhosts/XXXXX/wp-content/plugins/cherry-picker/admin/partials/cherry-picker-admin-display.php(24): Cherry_Picker_Admin::generate_boormarklet() #1 /var/www/vhosts/XXXXX/wp-content/plugins/cherry-picker/admin/class-cherry-picker-admin.php(101): require_once('...') #2 /var/www/vhosts/XXXXX/wp-includes/class-wp-hook.php(307): Cherry_Picker_Admin->render_admin_page() #3 /var/www/vhosts/XXXXX/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /var/www/vhosts/XXXXX/wp-includes/plugin.php(476): WP_Hook->do_action() #5 /var/www/vhosts/XXXXX/wp-admin/admin.php(259): do_action() #6 {main} thrown in /var/www/vhosts/XXXXX/wp-content/plugins/cherry-picker/admin/class-cherry-picker-admin.php on line 111
After changing to php 7.4.x it works fine.
Nice plugin, thank you.
It would be better if the Github repository status to public.
- The topic ‘Error occurring on php 8’ is closed to new replies.