-
AuthorPosts
-
October 18, 2018 at 5:37 pm #1023511
So, I’m getting a really slow load time on a site. I’ve check GTMetrix and it’s getting an A but is still taking 20+ seconds to load a page. I believe it’s because the server that it’s on has to be using PHP 5.6 for another site that is shared there.
[17-Oct-2018 21:45:30 UTC] PHP Warning: scandir(): (errno 2): No such file or directory in /home2/amazioa7/public_html/greatlakespromotions.com/wp-content/themes/enfold/framework/php/class-framework-widgets.php on line 3019
I’m getting a lot of errors like that. Is there anything I can do to modify some files to work well with the older version of PHP? Any other thoughts about load time?
October 18, 2018 at 10:05 pm #1023674https://www.greatlakespromotions.com/ is the site by the way.
October 19, 2018 at 4:58 pm #1024032Hi,
Please update to php 7.1+ so you can be able to use all the features of our theme on the maximum! :)
Best regards,
BasilisOctober 19, 2018 at 5:03 pm #1024040Hey Basilis,
Oh man, I’d really like to but in the backend is an outdated program that breaks when updated to 7.0 and so we have to keep it at this older version of PHP – I guess the other question is is there a version of Enfold that does work best with PHP 5.6? It’s been a theme for quite a long time and I assume there was a version back there that was optimized for the older version of PHP.
October 22, 2018 at 2:52 pm #1024888Hi CurlyHost,
This version works with the php5.6 you can just disable warnings being written to the log and it should be fine.
Best regards,
VictoriaOctober 25, 2018 at 12:54 am #1026165What do I have to do to make it so warnings don’t get written in the log?
October 26, 2018 at 12:22 pm #1026747Hi CurlyHost,
In your wp config
https://gist.githubusercontent.com/jennimckinnon/01c0c4b7c9a57580e5266aa679c79bd0/raw/3a94ab9a8ccada08bd59341fa1b18c5973cf7d91/wp-config.phpand
error_reporting(E_ERROR | E_PARSE);http://php.net/manual/en/function.error-reporting.php
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.
