Ninja Forms causes 500 error with Notification for Telegram enabled (PHP 8+))
-
Upgraded web site to PHP 8.3 and noticed that Ninja Forms (3.8.17 and 3.8.23 ) has stopped sending submissions, when Notification for Telegram (3.3.7) is enabled.
Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in \/home\/innablog\/scratch-studio.com\/va\/wp-content\/plugins\/ninja-forms\/includes\/AJAX\/Controllers\/Submission.php:261\nStack trace:\n#0 \/home\/innablog\/scratch-studio.com\/va\/wp-content\/plugins\/ninja-forms\/includes\/AJAX\/Controllers\/Submission.php(261): array_merge(Array, NULL)\n#1 \/home\/innablog\/scratch-studio.com\/va\/wp-content\/plugins\/ninja-forms\/includes\/AJAX\/Controllers\/Submission.php(146): NF_AJAX_Controllers_Submission->process()\n#2 \/home\/innablog\/scratch-studio.com\/va\/wp-includes\/class-wp-hook.php(324): NF_AJAX_Controllers_Submission->submit(”)\n#3 \/home\/innablog\/scratch-studio.com\/va\/wp-includes\/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)\n#4 \/home\/innablog\/scratch-studio.com\/va\/wp-includes\/plugin.php(517): WP_Hook->do_action(Array)\n#5 \/home\/innablog\/scratch-studio.com\/va\/wp-admin\/admin-ajax.php(192): do_action(‘wp_ajax_nf_ajax…’)\n#6 {main}\n thrown”,”file”:”\/home\/innablog\/scratch-studio.com\/va\/wp-content\/plugins\/ninja-forms\/includes\/AJAX\/Controllers\/Submission.php”,”line”:261}},”debug”:[]}
Form works well in case Notification for Telegram is disabled.
This issue reproduced only for PHP 8.0 and higher (checked all). There is no issues with PHP 7.4
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.