Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Weston Ruter

    (@westonruter)

    Can you access your PHP error log? Or can you enable WP_DEBUG in your wp-config.php? If there are errors we need to know what they are.

    Also, what plugins do you have active?

    Note that the page is not empty, though it is blank. There are a couple scripts in the page source, one for comScore and another for Quantcast.

    Thread Starter travellingfoodie

    (@travellingfoodie)

    I set these two in wp-config.php:
    define(‘WP_DEBUG’, true);
    define(‘WP_DEBUG_LOG’, true);

    I tried running the amp pages again. No debug.log appears in wp-content folder.

    Activated Plugins:
    – Ad Inserter
    – AddToAny Share Buttons
    – AMP
    – Classic Editor
    – Display Posts Shortcode
    – Glue for Yoast SEO & AMP
    – Google Analytics for WordPress by MOnsterInsights
    – Jetpack by WordPress.com
    – SG Optimizer
    – WordPress Importer
    – WPB Accordion Menu or Category
    – Yoast SEO

    Plugin Author Weston Ruter

    (@westonruter)

    Try deactivating plugins one by one until you see the AMP page render properly again. Start with SG Optimizer.

    Thread Starter travellingfoodie

    (@travellingfoodie)

    This issue is only with 4 posts though not all 300+ posts. I would think a conflict with other plugins would break the majority of the posts?

    Thread Starter travellingfoodie

    (@travellingfoodie)

    So I deactivated SG Optimizer.
    There’s an error message that shows now:
    Warning: require(/public_html/wp-content/plugins/amp/third_party/fasterimage/ExifParser.php): failed to open stream: Too many open files in /public_html/wp-content/plugins/amp/includes/class-amp-autoloader.php on line 135

    Fatal error: require(): Failed opening required ‘/public_html/wp-content/plugins/amp/third_party/fasterimage/ExifParser.php’ (include_path=’.:/usr/local/php56/pear’) in /public_html/wp-content/plugins/amp/includes/class-amp-autoloader.php on line 135

    Plugin Author Weston Ruter

    (@westonruter)

    Do the posts that have the problem all have many images on them?

    Thread Starter travellingfoodie

    (@travellingfoodie)

    Yes, they are long articles so lots of images.

    Plugin Author Weston Ruter

    (@westonruter)

    OK, I can see you opened a support topic for this specific issue in October: https://www.ads-software.com/support/topic/fatal-error-require-failed-opening-required-file/

    I don’t have a fix for you, other than to disable AMP for those specific posts that have the many images. You can do so via “AMP Enabled” toggle in the publish metabox for those posts.

    Thread Starter travellingfoodie

    (@travellingfoodie)

    Yes, I did have that issue before. After you told me to reduce the images, it was fine for more than 2 months until 2 days ago when it started to break again. The first being the blank screen which we learned is the SG Optimizer. But the second being the fact that the issue came back after being OK for more than 2 months.

    Jetpack 6.9 is out now! Does it solve your problems?

    • This reply was modified 5 years, 10 months ago by The-Dude.
    Thread Starter travellingfoodie

    (@travellingfoodie)

    @the-dude-1 what does Jetpack have to do with this?

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘AMP Pages show as blank’ is closed to new replies.