WPIntell

Source evidence

PHP 8 Upgrade Fatal Error

APH Prism Syntax Highlighter · support · 2023-02-08T01:30:00+00:00

complaintsentiment
highseverity
0.96relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

6 / 25 rows with source links

24.0% 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
Ahmad Awais unresolved
Hi there, thanks for the awesome plugin. Sadly, upgrading to PHP8 broke the site. Can’t edit posts/pages. Logs show this error. 2023/02/08 01:04:47 [error] 22978#22978: *499221 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php:78 Stack trace: #0 /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php(78): join(Array, ‘ / ‘) #1 /www/name/public/wp-includes/class-wp-hook.php(308): Aphph_Admin_Editor->add_modal_dialog(”) #2 /www/name/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(”, Array) #3 /www/name/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /www/name/public/wp-admin/admin.php(385): do_action(‘load-post.php’) #5 /www/name/public/wp-admin/post.php(12): require_once(‘/www/name…’) #6 {main} thrown in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php on line 78″ while reading response header from upstream, client: 23.16.80.170, server: name.com, request: “GET /wp-admin/post.php?post=7600&action=edit HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php8.0-fpm-name.sock:”, host: “name.com:23961”, referrer: “ https://name.com/wp-admin/edit.php?s=hiring&post_status=all&post_type=post&action=-1&m=0&cat=0&seo_filter&readability_filter&paged=1&action2=-1” ; 2023/02/08 01:04:47 [error] 22978#22978: *499221 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php:78 Stack trace: #0 /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php(78): join(Array, ' / ') #1 /www/name/public/wp-includes/class-wp-hook.php(308): Aphph_Admin_Editor->add_modal_dialog('') #2 /www/name/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /www/name/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /www/name/public/wp-admin/admin.php(385): do_action('load-post.php') #5 /www/name/public/wp-admin/post.php(12): require_once('/www/name...') #6 {main} thrown in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php on line 78" while reading response header from upstream, client: 23.16.80.170, server: name.com, request: "GET /wp-admin/post.php?post=7600&action=edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-name.sock:", host: "name.com:23961", referrer: "https://name.com/wp-admin/edit.php?s=hiring&post_status=all&post_type=post&action=-1&m=0&cat=0&seo_filter&readability_filter&paged=1&action2=-1" Thank you for the report, I hope I could update it in the near future.

Comments

2 shown
Ahmad Awais 2023-02-08T01:30:00+00:00

2023/02/08 01:04:47 [error] 22978#22978: *499221 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: join(): Argument #2 ($array) must be of type ?array, string given in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php:78 Stack trace: #0 /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php(78): join(Array, ' / ') #1 /www/name/public/wp-includes/class-wp-hook.php(308): Aphph_Admin_Editor->add_modal_dialog('') #2 /www/name/public/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) #3 /www/name/public/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /www/name/public/wp-admin/admin.php(385): do_action('load-post.php') #5 /www/name/public/wp-admin/post.php(12): require_once('/www/name...') #6 {main} thrown in /www/name/public/wp-content/plugins/aph-prism-highlighter/includes/aphph-admin-editor.php on line 78" while reading response header from upstream, client: 23.16.80.170, server: name.com, request: "GET /wp-admin/post.php?post=7600&action=edit HTTP/1.1", upstream: "fastcgi://unix:/var/run/php8.0-fpm-name.sock:", host: "name.com:23961", referrer: "https://name.com/wp-admin/edit.php?s=hiring&post_status=all&post_type=post&action=-1&m=0&cat=0&seo_filter&readability_filter&paged=1&action2=-1"

Agus Prawoto Hadi 2023-02-11T22:28:00+00:00

Thank you for the report, I hope I could update it in the near future.