Skip Navigation

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.

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by Waqar Ali 1 year, 6 months ago.

Assisted by: Waqar Ali.

Author Posts
June 14, 2023 at 11:27 am #13824527

georgeC-7

Hello,

I have previous opened a ticket but there was no solution found.

I have a website, it is fully updated and when I update an order status I get a 404 page not found error. If I enter again in the order it will update eventually.

I have enabled the plugin "Health Check & Troubleshooting" so I diasbled every plugin and enabled the default wordpress them. Then I enabled the woocommerce plugin and updated an order. That far everything's okay. Afterwards I enable WPML Multilingual CMS and WooCommerce Multilingual & Multicurrency, as the enclode image, and the 404 error occured after updating an order.

I have no idea what is going on but after enabling wpml the site admin get very slow. Please do you have any idea what is going on?

Also, earlier today I received an email from the site reporting a technical issue. It was when I tried to update an order. The issue:

Ενεργό θέμα: Sismanidou (έκδοση 1.0.0)
Τρέχων πρόσθετο: WPML Multilingual CMS (έκδοση 4.6.3)
Έκδοση PHP 7.4.33

Λεπτομέρειες σφάλματος
===========================================
Ένα σφάλμα τύπου E_ERROR εντοπίστηκε στη γραμμή 422 του αρχείου /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php. Κωδικός σφάλματος: Uncaught ReflectionException: Class WPML_TM_AMS_API does not exist in /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/StandardReflector.php:29
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct('WPML_TM_AMS_API')
#1 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/CachingReflector.php(73): WPML\Auryn\StandardReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#2 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(527): WPML\Auryn\CachingReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#3 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(474): WPML\Auryn\Injector->buildArgFromTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#4 /h

fatal_error.png
June 14, 2023 at 11:42 am #13824681

georgeC-7

Also, below are shown the error logs from before

text/x-log fatal-errors-2023-06-14-3582741c70c5b09191a91b6374c1da39.log ( UTF-8 Unicode text, with very long lines )

2023-06-14T10:17:42+00:00 CRITICAL Uncaught ReflectionException: Class WPML_TM_AMS_API does not exist in /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/StandardReflector.php:29
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/StandardReflector.php(29): ReflectionClass->__construct('WPML_TM_AMS_API')
#1 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/CachingReflector.php(73): WPML\Auryn\StandardReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#2 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(527): WPML\Auryn\CachingReflector->getParamTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#3 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php(474): WPML\Auryn\Injector->buildArgFromTypeHint(Object(ReflectionMethod), Object(ReflectionParameter))
#4 /h μέσα στο /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/auryn/lib/Injector.php στην γραμμή 422

2023-06-14T10:18:26+00:00 CRITICAL require_once(): Failed opening required '/home/stema/public_html/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/includes/class-yit-plugin-subpanel.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/yit-plugin.php στην γραμμή 23

2023-06-14T10:19:01+00:00 CRITICAL Uncaught Error: Call to a member function isComplete() on null in /home/stema/public_html/wp-content/plugins/wpml-string-translation/classes/MO/File/FailureHooksFactory.php:39
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/wpml-string-translation/classes/MO/File/FailureHooksFactory.php(20): WPML\ST\MO\File\FailureHooksFactory->hasRanPreGenerateViaUi()
#1 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(144): WPML\ST\MO\File\FailureHooksFactory->create()
#2 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(92): WPML_Action_Filter_Loader->run_factory(Object(WPML\ST\MO\File\FailureHooksFactory))
#3 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(76): WPML_Action_Filter_Loader->load_factory(Object(WPML\ST\MO\File\FailureHooksFactory))
#4 /home/stem μέσα στο /home/stema/public_html/wp-content/plugins/wpml-string-translation/classes/MO/File/FailureHooksFactory.php στην γραμμή 39

2023-06-14T11:07:03+00:00 CRITICAL require(): Failed opening required '/home/stema/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Downloads/Stats/Controller.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php στην γραμμή 87

2023-06-14T11:07:03+00:00 CRITICAL Uncaught Error: Class 'WPML_TM_Page_Builders' not found in /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php:18
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/app.php(25): WPML\PB\App::run()
#1 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/loader.php(32): require_once('/home/stema/pub...')
#2 /home/stema/public_html/wp-includes/class-wp-hook.php(308): {closure}('')
#3 /home/stema/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#4 /home/stema/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /home/stema/public_html/wp-settings.php(623): do_action('init')
#6 /home/stema/public_html/wp-config.php(98): require_once('/home/stema/pub...')
#7 /home/stema/public_html/wp-load.php(50): require_once('/home/stema/pub...')
#8 /home/stema/public_html/wp-admin/admin-ajax.php(22): require_once('/ μέσα στο /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/App.php στην γραμμή 18

2023-06-14T11:09:16+00:00 CRITICAL require_once(): Failed opening required '/home/stema/public_html/wp-content/plugins/woocommerce/includes/wccom-site/rest-api/class-wc-rest-wccom-site-installer-error-codes.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/woocommerce/includes/wccom-site/class-wc-wccom-site.php στην γραμμή 222

2023-06-14T11:09:29+00:00 CRITICAL Uncaught Error: Class 'WPML_TM_XLIFF_Factory' not found in /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php:455
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-tm-loader.php(10): setup_xliff_frontend()
#1 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php(86): WPML_TM_Loader->load_xliff_frontend()
#2 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/tm.php(74): WPML_Translation_Management->load()
#3 /home/stema/public_html/wp-includes/class-wp-hook.php(308): wpml_tm_load(Object(SitePress))
#4 /home/stema/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#5 /home/stema/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#6 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(527): do_action('wpml_loaded', Object(SitePress))
#7 /home/stema/p μέσα στο /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php στην γραμμή 455

2023-06-14T11:09:34+00:00 CRITICAL require(): Failed opening required '/home/stema/public_html/wp-content/plugins/woocommerce/src/Admin/Features/Navigation/Init.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php στην γραμμή 87

2023-06-14T11:10:02+00:00 CRITICAL require(): Failed opening required '/home/stema/public_html/wp-content/plugins/woocommerce/src/Admin/API/Reports/Import/Controller.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php στην γραμμή 87

2023-06-14T11:10:48+00:00 CRITICAL require(): Failed opening required '/home/stema/public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Notes/CouponPageMoved.php' (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') μέσα στο /home/stema/public_html/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-php-autoloader.php στην γραμμή 87

2023-06-14T11:15:03+00:00 CRITICAL Uncaught Error: Class 'OTGS_Installer_Connection_Test' not found in /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-otgs-installer-factory.php:301
Stack trace:
#0 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-otgs-installer-loader.php(27): OTGS_Installer_Factory->load_installer_support_hooks()
#1 /home/stema/public_html/wp-includes/class-wp-hook.php(308): OTGS_Installer_Loader->load_actions_after_installer_init('')
#2 /home/stema/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
#3 /home/stema/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#4 /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-wp-installer.php(243): do_action('otgs_installer_...')
#5 /home/stema/public_html/wp-includes/class-wp-hook.php(308): WP_Installer->init('')
#6 /home/stema/public_html/wp-includes/class-wp-hook. μέσα στο /home/stema/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/class-otgs-installer-factory.php στην γραμμή 301

June 15, 2023 at 2:26 pm #13833303

Waqar Ali

Hi,

Thank you for contacting us and I'd be happy to assist.

I couldn't reproduce this issue on a test website, which suggests something specific to your website or server is involved.

To troubleshoot this, I'll need to see how WPML and WooCommerce are set up on your website. Can you please share temporary admin login details, in reply to this message?

I'll also need your permission to download a clone/snapshot of the website, in case it needs to be investigated on a different server.

Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.

regards,
Waqar

June 20, 2023 at 3:43 am #13855175

Waqar Ali

Hi Anna,

Thank you for sharing the access details.

I'm currently reviewing the website's setup and will be running some tests accordingly.

Will share the findings, as soon as this testing completes.

Thank you for your patience.

regards,
Waqar

June 20, 2023 at 6:58 am #13855765

georgeC-7

Hi Waqar,

Are you currently running tests? Please let me know if yoy find anything.

Thanks.

June 23, 2023 at 9:48 am #13883317

georgeC-7

Hello,
do you have any news?

June 23, 2023 at 11:20 pm #13887699

Waqar Ali

Just wanted to let you know that I'm still working on this and will share the detailed findings with you, by the end of the day today.

June 26, 2023 at 8:22 am #13892963

georgeC-7

Hello, have you come to any conclusions?

July 3, 2023 at 8:58 pm #13936317

Waqar Ali

Sorry to keep you waiting, but I had to take a few days off.

I'm back now and will be able to share a detailed update by the end of the day today.

July 9, 2023 at 11:03 am #13972635

Waqar Ali

Hi Anna,

First, thank you for waiting as I completed the troubleshooting around this error report.

I've tested your website's clone on 3 different server environments and couldn't reproduce the error while updating the WooCommerce orders.

- I tested the order update process from the orders list page and the single order edit screen page in the admin area

- Used different admin user accounts for this testing

- Tested with different orders, order statuses, and ordered products combinations

Reviewing the reported errors from your server's log, in detail, when the order update process fails for you on the first attempt, the system can't seem to find/access the code that does exist on the server.
( because it works on the subsequent attempts )

And it is not just limited to code in WPML plugins. The same is also happening for code in other plugins like 'yith-woocommerce-wishlist' and 'woocommerce'.

To avoid this, here are my recommendations:

1. Please make sure WordPress, plugins, and the active theme are updated to the latest versions, at all times

2. Check with your website's host to see if any server/CDN level throttling is involved, where more resources are only made available when the processing demand increases. That would explain the timeout that results in the server not being able to find/execute the complete code on the first attempt. But then works afterward, without making any other changes.

I hope these findings are helpful and let me know if your hosting support team has any more insights to add here.

regards,
Waqar