WordPress.org

Ready to get started?Download WordPress

Forums

Storify
Blank page on plugin activate (1 post)

  1. dkukral
    Member
    Posted 2 years ago #

    Had a similar problem to this:
    http://wordpress.org/support/topic/plugin-storify-broke-wordpress-after-activation?replies=2

    I dug in the code some and it was failing on the get_posts call in the WP_Storify::upgrade() call ..

    My blog has 50K+ posts and to return them all appeared to be exhausting the memory and causing it to fail.

    Might make sense to store some post meta data and query based on that rather than grabbing all posts and trying to filter for the storify permlink in them.

    I changed the if statement in WP_Storify::upgrade() to bypass the get_posts call.

    [Code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    http://wordpress.org/extend/plugins/storify/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.