• For anyone who (after upgrading) receives the “Warning: Illegal string offset” message when displaying the quotes through the shortcode, this is the fix:

    In the plugin editor, find in nice_quotes.php the following lines

    	$tagoverride =  trim($atts[tagoveride]);
    	$additionalclasses =  trim($atts[additionalclasses]);

    and change them to:

    	if(isset($atts[tagoveride])){
    		$tagoverride =  trim($atts[tagoveride]);
    	}
    	if(isset($atts[additionalclasses])){
    		$additionalclasses =  trim($atts[additionalclasses]);
    	}

    This validates the entries. Hope that helps someone!

The topic ‘Fix for the error message’ is closed to new replies.