kurtK-7
Background of the issue:
I am trying to update the WPML Multilingual CMS from version 4.6.14 to 4.6.15, but every time I attempt the update, it causes an error, and I am forced to roll back.
Symptoms:
I expected the plugin to update, but instead, I got an 'Uncaught Error: Class "WPML\Core\Twig_Loader_Filesystem" not found' in /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/classes/templates/wpml-twig-template-loader.php on line 29.
------+-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2 | Uncaught Error: Class "WPML\Core\Twig_Loader_Filesystem" not found in |
| | /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/classes/templates/wpml-twig-template-loader.php:29nStack trace:n#0 |
| | /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/classes/class-wpml-translation-management.php(66): |
| | WPML_Twig_Template_Loader->get_template()n#1 /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/tm.php(74): |
| | WPML_Translation_Management->init()n#2 /nas/content/live/abcsupply/wp-includes/class-wp-hook.php(324): wpml_tm_load(Object(SitePress))n#3 |
| | /nas/content/live/abcsupply/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)n#4 |
| | /nas/content/live/abcsupply/wp-includes/plugin.php(517): WP_Hook->do_action(Array)n#5 |
| | /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php(527): do_action('wpml_loaded', Object(SitePress))n#6 |
| | /nas/content/live/abcsupply/wp-includes/class-wp-hook.php(324): SitePress->init('')n#7 /nas/content/live/abcsupply/wp-includes/class-wp-hook.php(348): |
| | WP_Hook->apply_filters(NULL, Array)n#8 /nas/content/live/abcsupply/wp-includes/plugin.php(517): WP_Hook->do_action(Array)n#9 |
| | /nas/content/live/abcsupply/wp-settings.php(559): do_action('plugins_loaded')n#10 /nas/content/live/abcsupply/wp-config.php(66): |
| | require_once('/nas/content/li...')n#11 /nas/content/live/abcsupply/wp-load.php(50): require_once('/nas/content/li...')n#12 |
| | /nas/content/live/abcsupply/wp-blog-header.php(13): require_once('/nas/content/li...')n#13 /nas/content/live/abcsupply/index.php(17): |
| | require('/nas/content/li...')n#14 {main}n thrown in |
| | /nas/content/live/abcsupply/wp-content/plugins/sitepress-multilingual-cms/classes/templates/wpml-twig-template-loader.php on line 29, referer: |
| | hidden link
Questions:
Why does the update from WPML Multilingual CMS 4.6.14 to 4.6.15 cause an error?
How can I successfully update the plugin without encountering this error?
Shekhar Bhandari
Supporter
Languages:
English (English )
Timezone:
Asia/Kathmandu (GMT+05:45)
Hello there,
Thank you for contacting WPML support. I'd be happy to assist you on this issue.
Looks like the automatic update misses out some files, can you try to manually update wpml and see if it helps?
https://wpml.org/faq/updating-wpml-manually/
Look forward to your reply.
Thanks