( ! ) 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
14.190232576264shutdown_action_hook( )...\load.php:0
24.190232576264do_action( )...\load.php:1308
34.190232576640WP_Hook->do_action( )...\plugin.php:522
44.190232576640WP_Hook->apply_filters( )...\class-wp-hook.php:365
54.208732528040wp_ob_end_flush_all( )...\class-wp-hook.php:341
64.208732528040ob_end_flush ( )...\functions.php:5481
74.208732863944WeglotWP\Services\Translate_Service_Weglot->weglot_treat_page( )...\functions.php:5481
84.223133043472Weglot\Parser\Parser->translate( )...\class-translate-service-weglot.php:207
94.502735895232Weglot\Parser\Parser->apiTranslate( )...\Parser.php:329
104.503235898520Weglot\Client\Endpoint\CdnTranslate->handle( )...\Parser.php:452
115.014935934480Weglot\Client\Factory\Translate->__construct( )...\CdnTranslate.php:85