WordPress.org

Ready to get started?Download WordPress

Forums

Content Progress
Causes error after activation (4 posts)

  1. csigncsign
    Member
    Posted 1 year ago #

    When I try to activate the plugin, it causes this error:

    Warning: in_array() expects parameter 2 to be array, boolean given in /home/www/web333/html/sites/wp-content/plugins/content-progress/content-progress.php on line 401

    I run a network installation of WP 3.4.2, the newest plugin, but it is only enabled at ONE blog.

    http://wordpress.org/extend/plugins/content-progress/

  2. csigncsign
    Member
    Posted 1 year ago #

    there's a mistake in the code:

    there are two whitespaces after the opening bracket after "array" in line 401 of content-progress.php:

    in_array( $type

    delete one of these two spaces and the error disappears.

  3. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    That's not the error, actually - it's to do with the presence of the cp_settings array. The error goes away as soon as you update the settings. I haven't had a chance to update it yet.

  4. csigncsign
    Member
    Posted 1 year ago #

    I had saved them several times without success. Only editing the plugin's file as mentioned above deletes this error.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.