( ! ) Fatal error: Uncaught TypeError: Argument 1 passed to Weglot\Client\Factory\Translate::__construct() must be of the type array, string given, called in C:\wamp64\www\wp-content\plugins\weglot\vendor\weglot\weglot-php\src\Client\Endpoint\CdnTranslate.php on line 85 and defined in C:\wamp64\www\wp-content\plugins\weglot\vendor\weglot\weglot-php\src\Client\Factory\Translate.php on line 27
( ! ) TypeError: Argument 1 passed to Weglot\Client\Factory\Translate::__construct() must be of the type array, string given, called in C:\wamp64\www\wp-content\plugins\weglot\vendor\weglot\weglot-php\src\Client\Endpoint\CdnTranslate.php on line 85 in C:\wamp64\www\wp-content\plugins\weglot\vendor\weglot\weglot-php\src\Client\Factory\Translate.php on line 27
Call Stack
#TimeMemoryFunctionLocation
13.077030403720shutdown_action_hook( )...\load.php:0
23.077030403720do_action( )...\load.php:1308
33.077030404096WP_Hook->do_action( )...\plugin.php:522
43.077030404096WP_Hook->apply_filters( )...\class-wp-hook.php:365
53.097730351400wp_ob_end_flush_all( )...\class-wp-hook.php:341
63.097730351400ob_end_flush ( )...\functions.php:5481
73.097830707784WeglotWP\Services\Translate_Service_Weglot->weglot_treat_page( )...\functions.php:5481
83.112330887312Weglot\Parser\Parser->translate( )...\class-translate-service-weglot.php:207
93.376833568600Weglot\Parser\Parser->apiTranslate( )...\Parser.php:329
103.377233571888Weglot\Client\Endpoint\CdnTranslate->handle( )...\Parser.php:452
113.846733599208Weglot\Client\Factory\Translate->__construct( )...\CdnTranslate.php:85