Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1032124

    Hi
    I tried to update to the latest version of Enfold and found that the Envato API key had an issue. Looking at past support for this issue suggested manual install via FTP which I did. However it appears to have broken the Child Theme. Activating the main theme rather than the child theme helps fix that problem but I lose the customised coding from the child theme. Restoring a backup would be the last resort. I have set up an admin login for you in private content just in case.
    Regards
    Richard

    Here are some errors.

    *****Warning: Missing argument 3 for avia_woocommerce_gallery_thumbnail_description(), called in /home1/lickemst/public_html
    Warning: Missing argument 4 for avia_woocommerce_gallery_thumbnail_description(), called in /home1/lickemst/public_html
    Last time we checked the token we were not able to connected to Envato:
    Purchases could not be accessed
    Username could not be accessed (needed for your information only)
    E-Mail could not be accessed (needed for your information only)*****

    #1032218

    Hey Richard,

    Sorry for the problem, I tried logging in but the details don’t seem to work. Could you check and verify please?

    Best regards,
    Rikard

    #1032394

    Hi Rikard
    Sorry about that . Try the user name and password again
    Regards
    Richard

    #1032522

    Hi Richard,

    Thanks for the update, but it looks like you site is down at the moment?

    Best regards,
    Rikard

    #1032526

    Hi again
    That was due to the maintenance plugin being active although it didn’t work on the first page…strange. Also the Child theme was deactivated.
    Hopefully, crossing all my fingers and toes it should be fine now.
    Regards
    Richard

    #1032849

    Hi Rickard
    Just to keep you up to date I just cleared the cache and added the code below into the wp-config.php file as I did upgrade to PHP 7. It did not correct the error.

    /** Memory Limit */
    define('WP_MEMORY_LIMIT', '128M');
    define( 'WP_MAX_MEMORY_LIMIT', '128M' );

    Regards
    Richard

    #1032861

    Hi Richard,

    Thanks for the update, your site seems to be working normally now. You have this function in your child theme functions.php, what happens if you remove it?

    /**
     * unblur product images
     */
    global $woocommerce;
    if( version_compare( $woocommerce->version, '3.0.0', ">=" ) ) {
    	function avia_woocommerce_gallery_thumbnail_description($img, $attachment_id, $post_id, $image_class ) {
    	    return $img;
    	}
    	function avia_woocommerce_post_thumbnail_description($img, $post_id){
    	    return $img;
    	}
    }

    Best regards,
    Rikard

    #1032893

    Hi Rickard
    Hmmm! well caught ..seems to be that bit of code in the functions.php. That code has been there for ages so the update must have upset it.

    Thanks…big relief

    Regards
    Richard

    #1033000

    Hi,

    Great, glad we could help :-)

    Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.