Definitely sounds like a PHP error. Probably a simple syntax error, likely caused by a typo, but it’s impossible to say without the exact message. Can you share a link to a page showing the error? Or just the exact text of the message?
Thread Starter
glenng
(@glenng)
Here is the text of the messages I am getting:
Parse error: syntax error, unexpected T_STRING in /home3/eshalomc/public_html/naplesfloridarealestatecondos/wp-content/plugins/idx-broker-platinum1/idx-broker-platinum.php on line 34
Parse error: syntax error, unexpected T_STRING in /home3/eshalomc/public_html/naplesfloridarealestatecondos/wp-content/plugins/search-and-replace1/inpsyde-search-replace.php on line 73
Parse error: syntax error, unexpected T_FUNCTION in /home3/eshalomc/public_html/naplesfloridarealestatecondos/wp-content/plugins/visualizer/index.php on line 92
Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /home3/eshalomc/public_html/naplesfloridarealestatecondos/wp-content/plugins/wpdatatables/source/class.constructor.php on line 1551
For this feature to work Yoast SEO requires at least PHP version 5.3. We have detected PHP version 5.2.17 on this website.
unexpected T_STRING indicates a syntax error, not a PHP version error. The series of errors indicates to me that your site may have been (poorly) hacked.
Take a deep breath and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.
If you’re unable to clean your site(s) successfully, there are reputable organizations that can clean your sites for you. Sucuri and Wordfence are a couple.
With respect to the PHP version, check your .htaccess file to make sure you’re not set for an older PHP vesion.
Thread Starter
glenng
(@glenng)
Ran all the remote based scanners – results showed nothing.
Look at one of the files that shows a syntax error. What do you see on /home3/eshalomc/public_html/naplesfloridarealestatecondos/wp-content/plugins/idx-broker-platinum1/idx-broker-platinum.php on line 34?
Thread Starter
glenng
(@glenng)
Hi Steve – it shows this – Check for versions less than PHP5.3 and display error
Interesting. 🙂
Time to call your host again, I think.
Thread Starter
glenng
(@glenng)
Thanks for your help Steve – kind of thought there was a problem with the hosting
Thread Starter
glenng
(@glenng)
If someone runs into this problem you may find the .htaccess file may not have been updated by the hosting service.