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?
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.