Title: Uncaught InvalidArgumentException
Last modified: October 26, 2020

---

# Uncaught InvalidArgumentException

 *  [v.ilinov](https://wordpress.org/support/users/valentinilinov/)
 * (@valentinilinov)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/uncaught-invalidargumentexception-3/)
 * Hi
 * There’s an error on 404 page with “ia_markup=1” get attribute.
 *     ```
       Notice: Trying to get property 'post_date' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 636
   
       Notice: Trying to get property 'post_modified' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 639
   
       Notice: Trying to get property 'post_title' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 89
   
       Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 98
   
       Notice: Trying to get property 'post_author' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 419
   
       Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 444
   
       Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 557
   
       Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 466
   
       Notice: Trying to get property 'ID' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 492
   
       Notice: Trying to get property 'post_status' of non-object in /wp-content/plugins/fb-instant-articles/class-instant-articles-post.php on line 259
   
       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/ in /wp-content/plugins/fb-instant-articles/vendor/facebook/facebook-instant-articles-sdk-php/src/Facebook/InstantArticles/Validators/Type.php on line 183
       На сайті виникли тимчасові технічні проблеми.
       ```
   
 * Could you resolve it in your plugin, please?
    -  This topic was modified 5 years, 7 months ago by [v.ilinov](https://wordpress.org/support/users/valentinilinov/).

The topic ‘Uncaught InvalidArgumentException’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fb-instant-articles_8fa0a4.svg)
 * [Instant Articles for WP](https://wordpress.org/plugins/fb-instant-articles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fb-instant-articles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fb-instant-articles/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-instant-articles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-instant-articles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-instant-articles/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [v.ilinov](https://wordpress.org/support/users/valentinilinov/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/uncaught-invalidargumentexception-3/)
 * Status: not resolved