• Resolved dClark1967

    (@dclark1967)


    I have just updated Jigoshop to version 1.10.3 and immediately the plugin Jigoshop Category Pages ceased to operate giving a warning that it requires Jigoshop version 1.6 or later. Can’t see why it would do it now. I modified the file jigoshop-category-pages.php using the theme editor with the plugin inactive and replaced the line below:

    if ( $this->jigoshop_version() < '1.6' )

    With the following:

    function validate_version ($current , $required)
    {
    	$array_current = explode('.', $current);
    	$array_required = explode('.', $required);
    
    	foreach ($array_current as $key => $value)
    	{
    		if ($value < $array_required[$key]) return false;
    	}
    
    	return true;
    }
    
            if ( validate_version( $this->jigoshop_version() , '1.6') === false )

    This has fixed the issue. I created a function in case it is something that Jigoshop could use. It appears that the 1.6 is being taken as a higher number than 1.10. This function eliminates that.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you encounter any issues with your default shop page after activating the Category Pages plugin? I immediately got a Fatal Error message that displays on my main shop page and no settings are available. Just wondering if you encountered this and what the fix was?

    Thanks!

    Thread Starter dClark1967

    (@dclark1967)

    Not that I am aware of. What is the error message you received? Do you have a link or the page name it is showing on?

    Also as an update Jigoshop are aware of the problem I first posted about and there is a fix coming.

    @crose – please check if you have PHP 5.3 or higher. If no – please update by contacting your hosting provider. If yes – please let us know your Jigoshop System Info via [email protected]
    @dclark1967 your issue is already fixed, thanks for letting us know!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Jigoshop Category Pages]’ is closed to new replies.