Support » Plugin: My Custom Functions » Help with fatal error – parse error

  • Resolved vader7071

    (@vader7071)


    I am working on using some custom code to do some math on a CF7 form.

    While I was updating the code to work on a second form, I accidentally put in an extra ).

    Now the plugin causes a fatal error in my WP installation
    [code]Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected ')', expecting '{' in /home/jthedark/public_html/seahg/wp/wp-content/plugins/my-custom-functions/inc/php/functional.php(103) : eval()'d code on line 4[/code]

    I went and deleted the folder from the website and tried to just re-install the plugin. Even after deleting the plugin and re-installing, it is still finding my old code.

    Where is “my” code stored so I can go in and fix it to allow the plugin to function?

Viewing 6 replies - 1 through 6 (of 6 total)
  • vader7071

    (@vader7071)

    I really need help with this. A function of my site is down until I can get this corrected.

    vader7071

    (@vader7071)

    I was able to find the resolution here:

    Hi there,

    I have the same problem. Can you please advise what you did?

    Thanks!

    Plugin Author Space X-Chimp

    (@arthur-gareginyan)

    Hello @luanaclickedon ,

    Sorry for the delay in response.

    Do not worry, it’s easy to fix. Please follow the steps from this article: https://mycyberuniverse.com/my-custom-functions-plugin-fails-activate-failure.html. Please try this and let us know. Thank you!

    Have a great day! 🙂

    vitalseeds

    (@vitalseeds)

    HI

    I am having the same problem. I followed the instructions from the link you provided, which did allow me to reactivate the plug-in, but when i try to access the ‘settings’ page i get the same error, so cannot get in to edit my faulty code.

    Parse error: syntax error, unexpected ‘Seeds’ (T_STRING), expecting ‘)’ in /home/vitalsee/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(103) : eval()’d code on line 11

    Can you advise on this?

    Many thanks

    Fred

    • This reply was modified 9 months ago by vitalseeds.

    Thank you so much for this START/STOP feature, that’s brilliant and saved me a massive headache.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.