WordPress Business Themes › Forums › Responsive Themes › Directory Theme › Error: new_class/ppt_1_functions.php line 368
So, I got my 9.2.4 downloaded and uploaded to the site. I am running 5.0.3. When I installed the theme, I got this error. (Also, when I went to “Live Preview”) The heading disappears and I have to go into database and change it to something else just so I can get back into the dashboard.
Parse error: syntax error, unexpected T_FUNCTION in *****/wp-content/themes/DT9/framework/new_class/ppt_1_functions.php on line 368
I looked at line 368 and it has to do with some time setting? I’m running this on a Hostgator shared server account for now.
Yep, completely wiped the WordPress install and started over from scratch. Still got same error. So something is wrong with install on 5.0.3.
And basically the part isn’t coming up where I can put in my Activation Key according to the video, so probably not authenticated?
I was getting errors related to time as well. When i went to settings relating to location the default was Afganistan (alpha listing) so chaned it to United States. this was in two places but it is late and for the life of me i can’t find where those settings are. But worth a look around
I am running 5.0.3
I’m guessing you’re referring to the PHP version?
If so, then that’s more than likely the problem. It’s trying to use anonymous functions, which didn’t exist until at least PHP 5.3.
Note: PP themes started making changes for PHP 7 starting with v8.7.
I’d recommend updating your PHP. Only other option would be manually fix them. However, there could be other functions/methods affected that would need corrected too. May not be worth the time, hassle, or future problems.
So, it was WordPress 5.0.3. I had thought that maybe that was the issue. It was solved by the PremiumPress Support staff. I had provisioned my site SO very long ago that it was running PHP v5.6. After updating to version 7.1 everything works fine now. So, along with what you said as well JamesD
Thank you everyone for helping out and answering here.
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team