Support » Plugins » [Plugin: WP Auto Tagger] fatal error on activate. WP 2.3.3.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Please tell me the full error message including the line number.

    I get the following when using your plug:

    Warning: Missing argument 2 for auto_gettags() in /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php on line 86

    Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php on line 128

    Warning: array_walk() [function.array-walk]: The argument should be an array in /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php on line 129

    Warning: array_unique() [function.array-unique]: The argument should be an array in /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php on line 130

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php on line 131

    Warning: Cannot modify header information – headers already sent by (output started at /home/sherril/public_html/gourmetcoffeesnob/wp-content/plugins/auto-tagger.php:86) in /home/sherril/public_html/gourmetcoffeesnob/wp-includes/pluggable.php on line 331

    comments/suggestions

    Hello,

    i receive the same error message, when this bug will be fixed?

    Thank You

    Hi,
    I only can fix partial problem. Still looking for bugs.

    Replace *ORGINAL CODE*:
    => $tags=array_merge(explode(‘,’,$tags), $results[‘ResultSet’][‘Result’]);

    With:
    => $resultsResult = (is_array($results[‘ResultSet’][‘Result’]))?$results[‘ResultSet’][‘Result’]:array();
    $tags=array_merge(explode(‘,’,$tags), $resultsResult);

    Reason Behind: “$results[‘ResultSet’][‘Result’]” may return empty string, array_merge function need an array to pass through. So, just need to check for empty string and convert to empty array if needed to.

    Thanks.

    All the Best.
    Cloud Siah

    This has been fixed. Please download the updated version.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Auto Tagger] fatal error on activate. WP 2.3.3.’ is closed to new replies.