• Resolved egocefalo

    (@egocefalo)


    Hi, thanks for the plugin!

    It was working ok, then I entered a new piece of code, when applied I got the following message: Parse error: syntax error, unexpected ‘<‘, expecting end of file in …/wp-content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d code on line 11

    I realized there was an error in the code, so I tried to delete it but it wont save changes just gave me the same php error white page. So I deleted the whole plugin dir and reinstalled the plugin from a freshly downloaded zip, but when trying to activate it I get it can’t be activated because of the same php error message.

    Since it was a fresh, clean install (deleted dir), then I guess is something else and not the piece of code that trigger the first warning what is causing the error. Because it doesn’t save user’s codes in the DB right?.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    @egocefalo Hi,

    You are mistaken, the user’s PHP code is stored in the database. So by deleting the files of plugin you do not delete user’s code.

    The error message indicates a syntax error on line 11 of your PHP code. Most likely, you incorrectly use a combination of PHP and HTML code.

    Please read the instructions here and all will be fine.

    Have a nice day! ??

    Thread Starter egocefalo

    (@egocefalo)

    Thanks Arthur, fixed.

    Have a great one yourself!

    Plugin Author arthur-gareginyan

    (@arthur-gareginyan)

    You’re welcome! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Php error’ is closed to new replies.