• Resolved Iulia Cazan

    (@iulia-cazan)


    Hi,

    The plugin is throwing a fatal error and cannot activate the license key or continue with the setup, and cannot use the plugin features at all. I use it on WP 6.2.2, multi-site, PHP 8.1.

    [28-Jun-2023 13:23:47 UTC] PHP Fatal error:  Uncaught Error: Class "Languages\Languages" not found in /sites/.../files/public/content/plugins/weglot/vendor/weglot/weglot-php/src/Client/Endpoint/LanguagesList.php:28
    Stack trace:
    #0 /sites/.../files/public/content/plugins/weglot/src/services/class-language-service-weglot.php(62): Weglot\Client\Endpoint\LanguagesList->handle()
    #1 /sites/.../files/public/content/plugins/weglot/src/services/class-language-service-weglot.php(111): WeglotWP\Services\Language_Service_Weglot->get_languages_available()
    #2 /sites/.../files/public/content/plugins/weglot/src/actions/admin/class-admin-enqueue-weglot.php(92): WeglotWP\Services\Language_Service_Weglot->get_all_languages()
    #3 /sites/.../files/public/wp/wp-includes/class-wp-hook.php(308): WeglotWP\Actions\Admin\Admin_Enqueue_Weglot->weglot_admin_enqueue_scripts()
    #4 /sites/.../files/public/wp/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
    #5 /sites/.../files/public/wp/wp-includes/plugin.php(517): WP_Hook->do_action()
    #6 /sites/.../files/public/wp/wp-admin/admin-header.php(118): do_action()
    #7 /sites/.../files/public/wp/wp-admin/admin.php(239): require_once('...')
    #8 {main}
      thrown in /sites/.../files/public/content/plugins/weglot/vendor/weglot/weglot-php/src/Client/Endpoint/LanguagesList.php on line 28

    Regards,
    Iulia

    • This topic was modified 1 year, 4 months ago by Iulia Cazan.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fatal Error at line 28’ is closed to new replies.