WPML PHP Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset()

Home Forums BulletProof Security Pro WPML PHP Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset()

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #42238
    Murilo
    Participant

    Hi,

    I just activated WPML, and I am receiving some errors, even after following the directions of this post.

    [05-Nov-2022 19:33:17 UTC] PHP Fatal error: Uncaught Error: Call to undefined method WP_Textdomain_Registry::reset() in /home/cdlmoodl/klisia.org/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php:139
    Stack trace:
    #0 /home/cdlmoodl/klisia.org/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(119): WPML\ST\MO\Hooks\LanguageSwitch->resetTranslationAvailabilityInformation()
    #1 /home/cdlmoodl/klisia.org/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(73): WPML\ST\MO\Hooks\LanguageSwitch->changeMoObjects('es_ES')
    #2 /home/cdlmoodl/klisia.org/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php(48): WPML\ST\MO\Hooks\LanguageSwitch->switchToLocale('es_ES')
    #3 /home/cdlmoodl/klisia.org/wp-includes/class-wp-hook.php(310): WPML\ST\MO\Hooks\LanguageSwitch->languageHasSwitched('es')
    #4 /home/cdlmoodl/klisia.org/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #5 /home/cdlmoodl/klisia.org/wp-includes/plugin.php(517): WP_Hook->do_a in /home/cdlmoodl/klisia.org/wp-content/plugins/wpml-string-translation/classes/MO/Hooks/LanguageSwitch.php on line 139
    
    

    Thoughts?

    Thanks,

    Murilo

    #42239
    AITpro Admin
    Keymaster

    That is a PHP error, which means there is either a coding mistake in WPML or some option setting in WPML is causing the PHP error.  PHP errors are not caused by BPS.  Contact WPML for a solution.

    #42240
    AITpro Admin
    Keymaster

    The cause and solution for the WPML php error is here > https://wpml.org/forums/topic/the-webiste-failed-to-open-with-this-error/

    #42241
    Murilo
    Participant

    Thanks! Problem solved.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.