Support » Plugin: Business Directory Plugin - Easy Listing Directories for WordPress » New Submission – Critical Error

  • Resolved palkat

    (@palkat)


    Hello,

    I have been running version 5.8.0 just fine, how ever I just updated to v5.8.2 and now when you create a new submission it wont load the page you just get a WP ERROR “There has been a critical error on your website”.

    I restored back to my original business directory version 5.8.0 and everything worked great. So I upgraded to 5.8.2 a second time and again I get the ERROR when you try to create a new entry/submission.

    I have tried it with multiple browsers also and same issue.

    So for now I am back at running version 5.8.0 till I hear otherwise.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • I forgot to mention this error happens no matter if you use the SHORTCODE or an absolute URL to the new listing submission form.

    Plugin Author Steph Wells

    (@sswells)

    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!

    -BEGIN ERROR-

    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.

    Plugin Support bobbied

    (@bobbied)

    Hi @palkat

    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.

    Hello,

    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?

    Plugin Author Steph Wells

    (@sswells)

    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.

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.