Background of the issue:
Over the weekend, our site went down and came back up after we restarted the server. We checked the log and found a PHP Fatal error. I am unsure if this is a bug or just a hiccup. Here is the error log: [Sat Oct 12 21:30:17.741521 2024] [php:error] [pid 856:tid 2280] [remote 85.208.98.225:57527] PHP Fatal error: Uncaught BadMethodCallException: Method values does not exist. in D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlcollectsrcIlluminateSupportTraitsMacroable.php:52nStack trace:n#0 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlcore-apicoreLanguages.php(224): WPMLFPObj::__callStatic()n#1 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlcore-apicoreLanguages.php(484): WPMLElementAPILanguages::init()n#2 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorcomposerClassLoader.php(571): include('...')n#3 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorcomposerClassLoader.php(428): ComposerAutoloadincludeFile()n#4 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsclassesblock-editorBlocksLanguageSwitcher.php(97): ComposerAutoloadClassLoader->loadClass()n#5 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsclassesblock-editorBlocksLanguageSwitcher.php(39): WPMLBlockEditorBlocksLanguageSwitcher->getLanguageSwitcherLocalisedData()n#6 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsclassesblock-editorLoader.php(58): WPMLBlockEditorBlocksLanguageSwitcher->register()n#7 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreEither.php(207): WPMLBlockEditorLoader->registerBlocks()n#8 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcoreEither.php(257): WPMLFPRight->map()n#9 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlfpcorePromise.php(24): WPMLFPRight->chain()n#10 D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlwpclassesHooks.php(50): WPMLFPPromise->resolve()n#11 D:htdocswordpresswp-includesclass-wp-hook.php(324): WPMLLIBWPHooks::WPMLLIBWP{closure}()n#12 D:htdocswordpresswp-includesclass-wp-hook.php(348): WP_Hook->apply_filters()n#13 D:htdocswordpresswp-includesplugin.php(517): WP_Hook->do_action()n#14 D:htdocswordpresswp-settings.php(700): do_action()n#15 D:htdocswordpresswp-config.php(121): require_once('...')n#16 D:htdocswordpresswp-load.php(50): require_once('...')n#17 D:htdocswordpresswp-blog-header.php(13): require_once('...')n#18 D:htdocsindex.php(17): require('...')n#19 {main}n thrown in D:htdocswordpresswp-contentpluginssitepress-multilingual-cmsvendorwpmlcollectsrcIlluminateSupportTraitsMacroable.php on line 52
Symptoms:
The site went down over the weekend and a PHP Fatal error was logged: Uncaught BadMethodCallException: Method values does not exist.
Questions:
Any thought on what may have caused the issue?
Do we need to do anything on our end to prevent it from happening in the future?
Languages: English (English )Vietnamese (Vietnamese )
Timezone: Asia/Ho_Chi_Minh (GMT+07:00)
Hi Thomas,
Thank you for contacting WPML support, I’m happy to help you with this issue.
It sounds like a missing file or function in the WPML plugin folder on your site. I suggest you download a fresh copy of WPML plugin 4.6.13 from our site, delete the current WPML plugin, re-install it on your site with the new file download and observe the issue again. https://wpml.org/download/wpml-multilingual-cms/?section=changelog
❌ IMPORTANT: Please backup your database and website before proceeding ❌
Looking forward to your reply.
Thanks
The topic ‘[Closed] Fatal Error in log – brought site down ?’ is closed to new replies.