• 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: https://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://www.ads-software.com/plugins/pagefrog/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Empty Articles in FBIA; Warning in Code’ is closed to new replies.