Support » Plugin: Content Progress » Causes error after activation

  • Resolved csigncsign

    (@csigncsign)


    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/

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Plugin Author Joe Dolson

    (@joedolson)

    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.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Causes error after activation’ is closed to new replies.