Skip Navigation

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

Problem:

We get the following error when trying to run a cron in WP All Import plugin.

PHP Fatal error: Uncaught Error: Class 'WPMLAIWCML' not found

Solution:

Check and follow the next errata workaround:
- https://wpml.org/errata/wpml-all-import-php-fatal-error-uncaught-error-class-wpml-ai-wcml-not-found/

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 2 replies, has 2 voices.

Last updated by vadimP 10 months, 3 weeks ago.

Assisted by: Dražen Duvnjak.

Author Posts
May 26, 2023 at 7:37 am #13720219

vadimP

We are getting following error when trying to run a cron in WP All Import plugin.

Cron (/opt/plesk/php/7.4/bin/php-cgi /var/www/vhosts/silvanols.lv/silvanols.ee/wp-load.php import_key=qkAkoh7i import_id=2 action=processing) > /dev/null

PHP Fatal error: Uncaught Error: Class 'WPMLAIWCML' not found in /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wpml-all-import/wpml-all-import.php:277
Stack trace:
#0 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-includes/class-wp-hook.php(308): WPAI_WPML->before_post_import()
#1 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#2 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-includes/plugin.php(517): WP_Hook->do_action()
#3 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wp-all-import-pro/models/import/record.php(1910): do_action()
#4 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wp-all-import-pro/models/import/record.php(335): PMXI_Import_Record->process()
#5 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wp-all-import-pro/src/Scheduling/Import.php(70): PMXI_Import_Record->execute()
#6 /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wp-all-import-pro/actions/wp_loaded_99.php(176): WpaiSchedulingImpor in /var/www/vhosts/silvanols.lv/silvanols.ee/wp-content/plugins/wpml-all-import/wpml-all-import.php on line 277

May 29, 2023 at 11:28 am #13731791

Dražen Duvnjak
Supporter

Languages: English (English )

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

Hello,

I will be taking over the ticket and helping further.

Let us know how it goes and fi you still need our help or the errata workaround helped.

Regards,
Drazen

May 29, 2023 at 12:23 pm #13732273

vadimP

My issue is resolved now. Thank you! Workaround worked

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.