• adventurequalifications

    (@adventurequalifications)


    Hi

    Two issues I hope you can help with.

    1) I get these errors continuously… [12-Feb-2018 16:30:34 UTC] PHP Parse error: syntax error, unexpected ‘<‘ in /home/mysite/public_html/resource/wp-content/plugins/code-snippets/php/snippet-ops.php(517) : eval()’d code on line 1

    Any idea what can cause this and how to fix it? I am not a coder.

    2) Code Snippets has become incompatible with Formidable Forms since the last time FF updated to version 3.0 one-wards. As soon as I activate Code Snippets, even with no snippets it stops anything showing on any page with a form on it.

    I really need both plugins, so please could the brilliant coding people who understand this, try to find a solution.

    Thanx

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    Thread Starter adventurequalifications

    (@adventurequalifications)

    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.

    Plugin Author Shea Bunge

    (@bungeshea)

    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.

    Thread Starter adventurequalifications

    (@adventurequalifications)

    Thank you

    Plugin Author Shea Bunge

    (@bungeshea)

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP Parse Error & Incompatible with Formidable Forms’ is closed to new replies.