WPIntell

Source evidence

error in wordpress core file due to plugin

SEO Redirection Plugin – 301 Redirect Manager · support · 2025-06-21T14:48:00+00:00

mixedsentiment
highseverity
0.94relevance
5replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

5 / 25 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

20 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
sagargentraf resolved
when i enabled the plugin the error occurred on wordpress admin panel on all posts pages and all pages. I doent shown the list over there attaching sceenshot of the same Hello @sagargentraf , Thank you for reaching out. Could you please provide us with the exact error message that appears on your WordPress admin panel? This will help us better understand the issue and assist you more effectively. Looking forward to your reply. Best regards, Adam Have a great day! Hi, I’m experiencing an issue on a client’s WordPress website where the “SEO Redirection” plugin appears to cause a fatal error in the admin area. After logging into wp-admin , I received the following email from WordPress: Subject : Your Site is Experiencing a Technical Issue WordPress has a built-in feature that detects when a plugin or theme causes a fatal error and sends an automated email. In this case, WordPress caught an error with your theme, Divi . Error was triggered at: https://website_url/wp-admin/edit.php?post_type=page&ids=xxxxxx If your site appears broken and you can’t access the dashboard normally, WordPress provides a special recovery mode: https://website_url/wp-login.php?action=enter_recovery_mode&rm_token=xxxxxxxxxx WordPress version: 6.8.1 Active theme: Divi Child Theme (v1.0.0) PHP version: 8.2.28 To troubleshoot, I disabled all plugins and re-enabled them one by one. The error only reappears when the SEO Redirection plugin is activated. Any guidance or update on this issue would be appreciated. Thanks! \ Error Details ============= An error of type E_ERROR was caused in line 8148 of the file /home/websiteName/public_html/wp-content/themes/Divi/functions.php. Error message: Uncaught TypeError: basename(): Argument #1 ($path) must be of type string, array given in /home/websiteName/public_html/wp-content/themes/Divi/functions.php:8148 Stack trace: #0 /home/websiteName/public_html/wp-content/themes/Divi/functions.php(8148): basename(Array) #1 /home/websiteName/public_html/wp-includes/class-wp-hook.php(326): et_layout_post_class(Array) #2 /home/websiteName/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home/websiteName/public_html/wp-includes/post-template.php(607): apply_filters('post_class', Array, Array, 282012) #4 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(1443): get_post_class(Array, Object(WP_Post)) #5 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(839): WP_Posts_List_Table->single_row(Object(WP_Post), 0) #6 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(815): WP_Posts_List_Table->_display_rows(Array, 0) #7 /home/websiteName/public_html/wp-admin/includes/class-wp-list-table.php(1712): WP_Posts_List_Table->display_rows() #8 /home/websiteName/public_html/wp-admin/includes/class-wp-list-table.php(1639): WP_List_Table->display_rows_or_placeholder() #9 /home/websiteName/public_html/wp-admin/edit.php(503): WP_List_Table->display() #10 {main} thrown screenshot of error on wp https://ibb.co/5gp1Yd1N https://ibb.co/9kSN2fcq Issue is solved by updating divi function.php line no 8148 to $template_name = ( ! empty( $template ) && is_string( $template ) ) ? basename( $template ) : ”;

Comments

5 shown
Adam Salah 2025-06-21T22:13:00+00:00

Hello @sagargentraf , Thank you for reaching out. Could you please provide us with the exact error message that appears on your WordPress admin panel? This will help us better understand the issue and assist you more effectively. Looking forward to your reply. Best regards, Adam Have a great day!

sagargentraf 2025-06-25T20:28:00+00:00

Hi, I’m experiencing an issue on a client’s WordPress website where the “SEO Redirection” plugin appears to cause a fatal error in the admin area. After logging into wp-admin , I received the following email from WordPress: Subject : Your Site is Experiencing a Technical Issue WordPress has a built-in feature that detects when a plugin or theme causes a fatal error and sends an automated email. In this case, WordPress caught an error with your theme, Divi . Error was triggered at: https://website_url/wp-admin/edit.php?post_type=page&ids=xxxxxx If your site appears broken and you can’t access the dashboard normally, WordPress provides a special recovery mode: https://website_url/wp-login.php?action=enter_recovery_mode&rm_token=xxxxxxxxxx WordPress version: 6.8.1 Active theme: Divi Child Theme (v1.0.0) PHP version: 8.2.28 To troubleshoot, I disabled all plugins and re-enabled them one by one. The error only reappears when the SEO Redirection plugin is activated. Any guidance or update on this issue would be appreciated. Thanks!

sagargentraf 2025-06-25T20:32:00+00:00

\ Error Details ============= An error of type E_ERROR was caused in line 8148 of the file /home/websiteName/public_html/wp-content/themes/Divi/functions.php. Error message: Uncaught TypeError: basename(): Argument #1 ($path) must be of type string, array given in /home/websiteName/public_html/wp-content/themes/Divi/functions.php:8148 Stack trace: #0 /home/websiteName/public_html/wp-content/themes/Divi/functions.php(8148): basename(Array) #1 /home/websiteName/public_html/wp-includes/class-wp-hook.php(326): et_layout_post_class(Array) #2 /home/websiteName/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array) #3 /home/websiteName/public_html/wp-includes/post-template.php(607): apply_filters('post_class', Array, Array, 282012) #4 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(1443): get_post_class(Array, Object(WP_Post)) #5 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(839): WP_Posts_List_Table->single_row(Object(WP_Post), 0) #6 /home/websiteName/public_html/wp-admin/includes/class-wp-posts-list-table.php(815): WP_Posts_List_Table->_display_rows(Array, 0) #7 /home/websiteName/public_html/wp-admin/includes/class-wp-list-table.php(1712): WP_Posts_List_Table->display_rows() #8 /home/websiteName/public_html/wp-admin/includes/class-wp-list-table.php(1639): WP_List_Table->display_rows_or_placeholder() #9 /home/websiteName/public_html/wp-admin/edit.php(503): WP_List_Table->display() #10 {main} thrown

sagargentraf 2025-06-25T20:37:00+00:00

screenshot of error on wp https://ibb.co/5gp1Yd1N https://ibb.co/9kSN2fcq

sagargentraf 2025-07-02T12:40:00+00:00

Issue is solved by updating divi function.php line no 8148 to $template_name = ( ! empty( $template ) && is_string( $template ) ) ? basename( $template ) : ”;