Uncaught TypeError with PHP8
-
Searching for a shortcode immediately fails (PHP 8.0.10) with:
CRITICAL Uncaught TypeError: get_class(): Argument #1 ($object) must be of type object, string given in …/wp-content/plugins/shortcodes-finder/includes/shortcodes-finder-utils.php:301 Stack trace: #0 …/wp-content/plugins/shortcodes-finder/includes/shortcodes-finder-utils.php(231): sf_admin_page_shortcode_origin() #1 …/wp-content/plugins/shortcodes-finder/admin/partials/shortcodes-finder-admin-display.php(172): sf_get_shortcodes_ordered() #2 …/wp-content/plugins/shortcodes-finder/admin/partials/shortcodes-finder-admin-display.php(64): sf_admin_page_find_shortcode_handler() #3 …/wp-includes/class-wp-hook.php(303): sf_admin_page_handler() #4 …/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters() #5 …/wp-includes/plugin.php(470): WP_Hook->do_action() #6 …/wp-admin/admin.php(259): do_action() #7 …/wp-admin/tools.php(40): require_once('...') #8 {main} thrown in …/wp-content/plugins/shortcodes-finder/includes/shortcodes-finder-utils.php in line 301
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Uncaught TypeError with PHP8’ is closed to new replies.