WPIntell

Source evidence

Uncaught TypeError with PHP8

Shortcodes Finder · support · 2021-10-20T21:43:00+00:00

mixedsentiment
highseverity
0.88relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 22 rows with source links

13.6% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

19 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
isarisar resolved
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 Hello @isarisar and thanks for your thread. I’ve tried on a real PHP 8.0.11 website, with a lot of shortcodes (~100), and it works correctly. Can you try to search, from the “Find by shortcode” tab, for some specific shortcodes calls, selecting them from dropdown and pressing button? (so don’t use the “All” menu item). Do you have the error for each of the shortcodes searched? Maybe the issue come from a specific plugin. Marked as resolved after some succesfully tests and no answer from user.

Comments

2 shown
Scribit 2021-10-26T13:45:00+00:00

Hello @isarisar and thanks for your thread. I’ve tried on a real PHP 8.0.11 website, with a lot of shortcodes (~100), and it works correctly. Can you try to search, from the “Find by shortcode” tab, for some specific shortcodes calls, selecting them from dropdown and pressing button? (so don’t use the “All” menu item). Do you have the error for each of the shortcodes searched? Maybe the issue come from a specific plugin.

Scribit 2021-11-02T08:54:00+00:00

Marked as resolved after some succesfully tests and no answer from user.