PHP Fatal error: Uncaught InvalidArgumentException: Method expects this value
-
We have implemented facebook instatant articles wp plugin in my website using below configuration and i got below error.
Any suggestions?
Configuration Info:
Plugin version: 4.2.0
WordPress version: 5.4.1
PHP Version 7.3.14PHP Fatal error: Uncaught InvalidArgumentException: Method expects this value
—-[bool(false)]—-to be one of the types ====[string(6) “STRING”]==== in \wp-content\plugins\fb-instant-articles\vendor\facebook\facebook-instant-articles-sdk-php\src\Facebook\InstantArticles\Validators\Type.php:183
Stack trace:
#0 \wp-content\plugins\fb-instant-articles\vendor\facebook\facebook-instant-articles-sdk-php\src\Facebook\InstantArticles\Validators\Type.php(70): Facebook\InstantArticles\Validators\Type::throwException(false, ‘STRING’)
#1 \wp-content\plugins\fb-instant-articles\vendor\facebook\facebook-instant-articles-sdk-php\src\Facebook\InstantArticles\Validators\Type.php(39): Facebook\InstantArticles\Validators\Type::is(false, ‘STRING’, true)
#2 \wp-content\plugins\fb-instant-articles\vendor\facebook\facebook-instant-articles-sdk-php\src\Facebook\InstantArticles\Elements\InstantArticle.php(133): Facebook\InstantArticles\Validators\Type::enforce(f in D:\home\site\wwwroot\wp-content\plugins\fb-instant-articles\vendor\facebook\facebook-instant-articles-sdk-php\src\Facebook\InstantArticles\Validators\Type.php on line 183The page I need help with: [log in to see the link]
- The topic ‘PHP Fatal error: Uncaught InvalidArgumentException: Method expects this value’ is closed to new replies.