New Landing How can we help? Cardinal Problems with aq_resizer-2x.php

Viewing 10 posts - 1 through 10 (of 10 total)
  • Posted in: Cardinal
  • #324179
    Ivan
    Member
    Post count: 80

    Hello

    Yesterday we found an error in the topic, which the plugin aq_resizer-2x.php calls.

    Here is what our hosting provider wrote:

    When going to the /blog page there are still intermittent 500s being caused by the theme, the following is the Fatal Error the theme is throwing when going to it:

    PHP Fatal error: Cannot redeclare sf_aq_resize() (previously declared in /nas/content/live/site1/wp-content/themes/cardinal/includes/plugins/aq_resizer-2x.php:2) in /nas/content/live/site1/wp-content/themes/cardinal/includes/plugins/aq_resizer-2x.php on line 211

    The line seems to be a simple syntax error, but I would have the theme developer or your developer take a look at line 211, here is what I found:

    );
    }

    return $image;
    }
    ?>

    Because of this error, the main page of the blog with the entries is not always loaded completely, and the pages of the records are loaded without content (there is no header and text of the entry), although other elements similar articles and footer are displayed on the page.

    I ask to help in solving this problem.

    Thanks in advance.

    #324190
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    We will need admin credentials to have a look at your site.
    Use the private reply.

    Thanks

    -Rui

    #324195
    Ivan
    Member
    Post count: 80
    This reply has been marked as private.
    #324200
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Do you have any customization in the child theme?
    What is your PHP version?

    -Rui

    #324202
    Ivan
    Member
    Post count: 80

    For files in the folder /wp-content/themes/cardinal/includes/there are no settings in the children’s theme.

    We use PHP Version: 5.6, since we are waiting for updates theme to go to PHP Version: 7.

    #324212
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Can you provide me ftp access to try to fix that function declaration.
    Use the private reply.

    -Rui

    #324235
    Ivan
    Member
    Post count: 80
    This reply has been marked as private.
    #324324
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Already made the change can you try to replicate it again to see if the same error still appears in the error log?

    -Rui

    #324378
    Ivan
    Member
    Post count: 80

    The error was gone.

    Many thanks!

    #324380
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Nice. Glad it’s sorted.
    We will include this in the next update.

    -Rui

Viewing 10 posts - 1 through 10 (of 10 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register