I forgot to mention this error happens no matter if you use the SHORTCODE or an absolute URL to the new listing submission form.
Oh no! I’m not able to get this error. Is it possible to find the error message? It would either be in your email or in your php error log. Hanks for your help and your patience!
I hope this helps you, I went in and turned on the debug in my wordpress, I then updated from business-directory-plugin v5.8.0 to v5.8.2 and I got the details on screen when the error happens. (I did block out my domain name for safety).
If there is anything else I can do to help let me know, this is everything I know of to do. I look forward to a fix, been using your plugin for years now!
Fatal error: Uncaught Error: Call to undefined function array_key_last() in /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/views/submit_listing.php:535 Stack trace: #0 /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/views/submit_listing.php(489): WPBDP__Views__Submit_Listing->add_recaptcha_last(Array) #1 /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/views/submit_listing.php(449): WPBDP__Views__Submit_Listing->merge_sections(Array) #2 /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/views/submit_listing.php(162): WPBDP__Views__Submit_Listing->submit_sections() #3 /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/class-dispatcher.php(75): WPBDP__Views__Submit_Listing->dispatch() #4 /home/***/domains/***.com/private_html/wp-includes/class-wp-hook.php( in /home/***/domains/***.com/private_html/wp-content/plugins/business-directory-plugin/includes/views/submit_listing.php on line 535
There has been a critical error on your website.
Learn more about debugging in WordPress.
Thanks for that information. Can you please try updating the plugin one more time and see if you still run into issues with that? This should be addressed now.
Please try that and let me know what you find.
I just ran the update and wow you all FIXED IT FAST!!!
Everything is now working just as before and I have added back in my mods and all is still working!!
Thanks again for the fast great work!
Im glad my error report was of help, mind if I ask what was the cause?
You’re welcome! Your report was a huge help to get this fixed fast. The issue was with php versions lower than 7.3. If you can update the php version on your site, that would be best.
Thanks for checking!
That makes sense, well thank you for the info. I just updated from PHP 7.2 to 7.4.