Hello,
As I see the syntax error you get is most probably caused by “<” sign in the “snippet-ops.php” file, which is located at /home/mysite/public_html/resource/wp-content/plugins/code-snippets directory.
If your hosting is using cPanel as control panel, you will be able to access the the file from the File Manager tool or via FTP client such as FileZilla.
Once you access the directory of the file, download the file “snippet-ops.php” so you can have It locally stored on your computer as backup and then open the file (If you opened at File Manager, select the “Code Edit” option), then at line one (first file of the code) you should see “<” sign. Please, remove It, then save the changes, clear your browser cache and verify the results.
If that way the problem isn’t solved, you can upload back the “snippet-ops.php” file through the File Manager with the “Upload” button or through FTP.
Thank you for the advice. I was a bit confused as your email came through with this: “you should see “<” sign. ” which I could not see. But when I logged into this forum I saw it should have been “<“. However this just gave be gobbledygook on the website. So I had to put it back.
Thanx anyway for the try.
Hi @adventurequalifications,
While I very much appreciate them helping out, unfortunately @zamunda68 is incorrect in assuming that this error originates from the snippet-ops.php file in the plugin. Actually, it is coming from the code in one of your active snippets.
Unfortunately, I can’t really tell the name of the snippet causing the issue, but it is definitely something to do with using a < sign where you shouldn’t be on line one of a snippet.
Good luck with finding the error! I would be happy to help solve the issue if you’re able to share the code of the snippet causing the error.