Title: Empty Articles in FBIA; Warning in Code
Last modified: August 31, 2016

---

# Empty Articles in FBIA; Warning in Code

 *  [OnAllCylinders](https://wordpress.org/support/users/onallcylinders/)
 * (@onallcylinders)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/empty-articles-in-fbia-warning-in-code/)
 * Hi, I’m getting the Empty Articles error when setting up Facebook Instant Articles
   I’ve seen others have. PageFrog has worked great for me with AMP.
 * Where you’d expect content to start in my FBIA feed, you see this:
 *     ```
       <!-- body -->
                   <br />
       <b>Warning</b>:  DOMDocument::saveHTML() expects exactly 0 parameters, 1 given in <b>/home/content/89/9146089/html/wp-content/plugins/pagefrog/admin/class-pagefrog-instant-articles-parser.php</b> on line <b>977</b><br />
       ```
   
 * My feed URL: [http://www.onallcylinders.com/?feed=pagefrog_instant_articles](http://www.onallcylinders.com/?feed=pagefrog_instant_articles)
 * As far as I can tell, line 977 of that PHP file is referring to the third line
   here:
 *     ```
       // render the final version of the DOM into a string
               $temp_body = $this->dom->getElementsByTagName('body');
               $final_html_string = $this->dom->saveHTML($temp_body->item(0));
       ```
   
 * Any help is appreciated!
 * Nate
 * [https://wordpress.org/plugins/pagefrog/](https://wordpress.org/plugins/pagefrog/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [OnAllCylinders](https://wordpress.org/support/users/onallcylinders/)
 * (@onallcylinders)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/empty-articles-in-fbia-warning-in-code/#post-7396495)
 * After some more research, would it matter which version of PHP is being used?
   I’m currently on 5.2 and can update to 5.3 or 5.4.
 *  [eubrunosilva](https://wordpress.org/support/users/eubrunosilva/)
 * (@eubrunosilva)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/empty-articles-in-fbia-warning-in-code/#post-7396685)
 * Hi
 * you should upgrade at least to 5.3.6, I think.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Empty Articles in FBIA; Warning in Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/pagefrog_4e5371.svg)
 * [Facebook Instant Articles & Google AMP Pages by PageFrog](https://wordpress.org/plugins/pagefrog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pagefrog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pagefrog/)
 * [Active Topics](https://wordpress.org/support/plugin/pagefrog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pagefrog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pagefrog/reviews/)

## Tags

 * [empty articles](https://wordpress.org/support/topic-tag/empty-articles/)
 * [facebook instant articles](https://wordpress.org/support/topic-tag/facebook-instant-articles/)

 * 2 replies
 * 2 participants
 * Last reply from: [eubrunosilva](https://wordpress.org/support/users/eubrunosilva/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/empty-articles-in-fbia-warning-in-code/#post-7396685)
 * Status: not resolved