Support » Plugin: My Custom Functions » Java in PHP

  • Resolved adireaudio

    (@adireaudio)


    I accidentlty put this in the php section of this plugin:

    jQuery(‘body.archive ul.products’).addClass(‘cols-4’);

    It crashed the site but I was able to manually disable the plugin from my FTP but now I am getting this error:

    Fatal error: Uncaught Error: Call to undefined function jQuery() in /home8/argentau/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d code:13 Stack trace: #0 /home8/argentau/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(85): eval() #1 /home8/argentau/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(92): spacexchimp_p001_exec() #2 /home8/argentau/public_html/wp-content/plugins/my-custom-functions/my-custom-functions.php(77): require_once(‘/home8/argentau…’) #3 /home8/argentau/public_html/wp-admin/includes/plugin.php(1897): include(‘/home8/argentau…’) #4 /home8/argentau/public_html/wp-admin/plugins.php(172): plugin_sandbox_scrape(‘my-custom-funct…’) #5 {main} thrown in /home8/argentau/public_html/wp-content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d code on line 13

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

Viewing 1 replies (of 1 total)
  • Plugin Author Space X-Chimp

    (@arthur-gareginyan)

    Hello @adireaudio,

    This error message indicates a syntax error on line 13 of your custom code that you entered on the plugin settings page.

    Please read the instructions here and all will be fine.

    Have a great day! 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Java in PHP’ is closed to new replies.