( ! ) 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.463230824416shutdown_action_hook( )...\load.php:0
23.463230824416do_action( )...\load.php:1308
33.463230824792WP_Hook->do_action( )...\plugin.php:522
43.463230824792WP_Hook->apply_filters( )...\class-wp-hook.php:365
53.483730772096wp_ob_end_flush_all( )...\class-wp-hook.php:341
63.483730772096ob_end_flush ( )...\functions.php:5481
73.483731128480WeglotWP\Services\Translate_Service_Weglot->weglot_treat_page( )...\functions.php:5481
83.498131152360Weglot\Parser\Parser->translate( )...\class-translate-service-weglot.php:207
93.743933833648Weglot\Parser\Parser->apiTranslate( )...\Parser.php:329
103.744333836936Weglot\Client\Endpoint\CdnTranslate->handle( )...\Parser.php:452
114.241933864256Weglot\Client\Factory\Translate->__construct( )...\CdnTranslate.php:85