WPIntell

Source evidence

PHP Fatal error in TestTab.php:130

Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more · support · 2026-06-05T07:53:00+00:00

complaintsentiment
highseverity
1.0relevance
3replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

6 / 34 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Klemart3D unresolved
Hi, I can no more send emails because of this fatal error, can you fix ASAP please? AH01071: Got error 'PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, bool given in /var/www/wp-content/plugins/easy-wp-smtp/src/Admin/Pages/TestTab.php:130 WordPress Version 6.9.4 Easy WP SMTP Version 2.14.0 PHP 8.2.31 Regards This topic was modified 5 days, 7 hours ago by Klemart3D . Hi @klemart3d , Thanks for reaching out, and I am so sorry to hear about the trouble. I was unable to replicate the issue and I can confirm that there is no bug at the location you shared. It looks like, your DB option got corrupted somehow. Please delete the option with name “easy_wp_smtp_test_email” from your wp_options table, and try again and see how it goes. I hope this helps. Thanks 🙂 Hi @shawon001 , I fixed it by updating the code of the display() function in TestTab.php like this: $stored_test_email_options = get_option( 'easy_wp_smtp_test_email', [] ); if ( ! is_array( $stored_test_email_options ) ) { $stored_test_email_options = []; } $test_email_options = array_merge( [ 'to' => '', 'subject' => '', 'message' => '', ], $stored_test_email_options ); if ( empty( $test_email_options['to'] ) ) { $test_email_options['to'] = wp_get_current_user()->user_email; } Since, no more Fatal error Hi @klemart3d , Thanks for sharing the workaround. I’ve checked this further with the team, and this workaround will work till next update. So at that time this fix will be overwritten, and the error will surface again. To avoid such scenarios, I’d recommend deleting the option with name “easy_wp_smtp_test_email” from your wp_options table, and try again, and see how it goes as I suggested above. Thanks!

Comments

3 shown
Shawon Chowdhury 2026-06-08T16:40:00+00:00

Hi @klemart3d , Thanks for reaching out, and I am so sorry to hear about the trouble. I was unable to replicate the issue and I can confirm that there is no bug at the location you shared. It looks like, your DB option got corrupted somehow. Please delete the option with name “easy_wp_smtp_test_email” from your wp_options table, and try again and see how it goes. I hope this helps. Thanks 🙂

Klemart3D 2026-06-09T08:16:00+00:00

Hi @shawon001 , I fixed it by updating the code of the display() function in TestTab.php like this: $stored_test_email_options = get_option( 'easy_wp_smtp_test_email', [] ); if ( ! is_array( $stored_test_email_options ) ) { $stored_test_email_options = []; } $test_email_options = array_merge( [ 'to' => '', 'subject' => '', 'message' => '', ], $stored_test_email_options ); if ( empty( $test_email_options['to'] ) ) { $test_email_options['to'] = wp_get_current_user()->user_email; } Since, no more Fatal error

Shawon Chowdhury 2026-06-10T13:38:00+00:00

Hi @klemart3d , Thanks for sharing the workaround. I’ve checked this further with the team, and this workaround will work till next update. So at that time this fix will be overwritten, and the error will surface again. To avoid such scenarios, I’d recommend deleting the option with name “easy_wp_smtp_test_email” from your wp_options table, and try again, and see how it goes as I suggested above. Thanks!