Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client experienced a critical error on their website after configuring WPML to auto-translate and completing the setup wizard. Upon enabling debug mode, they discovered deprecated function notices and a fatal error originating from the 'listingpro-Bulk-import-addon' plugin.

Solution:
We advised the client to deactivate the 'listingpro-Bulk-import-addon' plugin as the fatal error was coming from it, not the WPML plugins. By deactivating this plugin, the fatal error should no longer occur.

If you're experiencing a similar issue, we recommend trying to deactivate the conflicting plugin to resolve the critical error. However, please note that this solution might be outdated or not applicable to your case. If the problem persists, we encourage you to open a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins.

If you need further assistance, please don't hesitate to contact us in the WPML support forum.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Carlos Rojas 1 year, 2 months ago.

Assisted by: Carlos Rojas.

Author Posts
March 27, 2024 at 10:46 am #15454902

shoeb-ahmedA

I connected a new website, installed all the components, activated all the plugins, everything was smooth and ok. Later i configured WPML and set it to auto translate, and the moment i clicked the finish button, after going through setup wizard, my website broke and i got this error displayed.
There has been a critical error on this website.

Link to a page where the issue can be seen: hidden link

I expected to see: my running website which was working perfectly fine, having 1000s of pages.

Instead, I got: critical error and my site broken down.

Edit:
I activated debug mode in wordpress and got the following details displayed on the website's homepage
"Deprecated: Required parameter $timeZon_check follows optional parameter $interval in /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/listingpro-bookings/listingpro-bookings.php on line 246

Deprecated: Required parameter $day follows optional parameter $startTime in /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/listingpro-bookings/listingpro-bookings.php on line 369

Deprecated: Required parameter $interval follows optional parameter $startTime in /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/listingpro-bookings/listingpro-bookings.php on line 369

Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/listingpro-Bulk-import-addon/rapid-addon.php:669 Stack trace: #0 /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/wpml-all-import/wpml-all-import.php(138): RapidAddon->add_text() #1 /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/wpml-all-import/wpml-all-import.php(102): WPAI_WPML->init_addon_fields() #2 /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/wpml-all-import/wpml-all-import.php(62): WPAI_WPML->__construct() #3 /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/wpml-all-import/wpml-all-import.php(539): WPAI_WPML::getInstance() #4 /home/myb1d/domains/mybhiwandi.in/public_html/wp-settings.php(473): include_once('/home/myb1d/dom...') #5 /home/myb1d/domains/mybhiwandi.in/public_html/wp-config.php(90): require_once('/home/myb1d/dom...') #6 /home/myb1d/domains/mybhiwandi.in/public_html/wp-load.php(50): require_once('/home/myb1d/dom...') #7 /home/myb1d/domains/mybhiwandi.in/public_html/wp-blog-header.php(13): require_once('/home/myb1d/dom...') #8 /home/myb1d/domains/mybhiwandi.in/public_html/index.php(17): require('/home/myb1d/dom...') #9 {main} thrown in /home/myb1d/domains/mybhiwandi.in/public_html/wp-content/plugins/listingpro-Bulk-import-addon/rapid-addon.php on line 669

Notice: Function is_embed was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/myb1d/domains/mybhiwandi.in/public_html/wp-includes/functions.php on line 6031

Notice: Function is_search was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.) in /home/myb1d/domains/mybhiwandi.in/public_html/wp-includes/functions.php on line 6031"

March 27, 2024 at 11:00 am #15454958

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
Thank you for contacting us

The fatal error comes from the plugin 'listingpro-Bulk-import-addon', not from WPML plugins. If you deactivate this plugin the fatal error should disappear.

Regards,
Carlos