Home Forums WoodMart support forum Parse error

Parse error

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #536293

    Mira
    Participant

    Hello.

    I wrote to the hosting company (https://rocket.net/ – The World’s Fastest WordPress Hosting) that the site has not been stable lately, there is a slowdown in its speed.
    Here is the response they sent me, please comment:

    I do see an error from the theme so if you can have a look there

    Parse error: syntax error, unexpected ‘array’ (T_ARRAY), expecting function (T_FUNCTION) or const (T_CONST) in /home/e9eogjl/public_html/wp-content/themes/woodmart/inc/admin/modules/options/options/controls/icons-font/class-icons-font.php on line 26

    #536372

    Hung Pham
    Keymaster

    Hello Mira,

    Thanks for reaching to us.

    It looks like you have an outdated PHP version on your server. You need to have PHP 7.4 or higher according to WordPress requirements https://wordpress.org/about/requirements/

    Kind Regards,

    #537841

    Mira
    Participant

    Your site is using PHP 7.4 which is the most compatible version

    Attachments:
    You must be logged in to view attached files.
    #538063

    Hung Pham
    Keymaster

    Hello Mira,

    To assist you in the best possible manner, I kindly ask that you please provide me temporary wp-admin info (wp-admin URL, username, password) and FTP info (server, username, password, port) to Private Content area, this will allow me to thoroughly investigate and address your concerns in a more efficient.

    Regards,

    #555115

    Mira
    Participant

    Good afternoon. Here’s the data

    #555150

    Hung Pham
    Keymaster

    Hello Mira,

    Thanks for details.

    I didn’t see the error on your site. Also, our theme is optimized for speed and should not significantly slow down your website. However, it’s possible that your website’s performance is affected by the content you have added. For instance, the use of too many plugins, large unoptimized images, or other resources can slow down your website.

    We recommend that you remove any unnecessary plugins and install a JS & CSS optimization plugin such as WP Rocket. Our guide on how to optimize your website using our themes can be found here: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/.

    Kind Regards,

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