Title: website went down after applied some code
Last modified: July 16, 2018

---

# website went down after applied some code

 *  Resolved [Ronald Montenegro](https://wordpress.org/support/users/rodmontgt/)
 * (@rodmontgt)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/)
 * I have added some code using this plugin but it causes fatal error, the website
   went down, so I had to deactivate the plugin through FTP, the error is:
    /wp-
   content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d code
   on line 25
 * The code was:
 *     ```
       function custom_widget_featured_image() {
         global $post;
   
         echo tribe_event_featured_image( $post->ID, 'thumbnail' );
       }
       add_action( 'tribe_events_list_widget_before_the_event_title', 'custom_widget_featured_image' )
       ```
   
 * Now that I want to add a “;” at the final of the code( I think that caused the
   fatal error) I cannot activate the plugin because is showing the above error:
   /
   wp-content/plugins/my-custom-functions/inc/php/functional.php(85) : eval()’d 
   code on line 25

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [arthur-gareginyan](https://wordpress.org/support/users/arthur-gareginyan/)
 * (@arthur-gareginyan)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10531064)
 * Hello [@rodmontgt](https://wordpress.org/support/users/rodmontgt/),
 * Sorry for the delay in response.
 * We’re sorry that you have this problem. Please read the instructions [here](https://mycyberuniverse.com/my-custom-functions-plugin-fails-activate-failure.html)
   and all will be fine.
 * Have a great day! 🙂
 *  [Leopard-Lady](https://wordpress.org/support/users/leopard-lady/)
 * (@leopard-lady)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10819757)
 * Thank you for these instructions! You saved me from my own blunder 🙂
 *  Plugin Author [arthur-gareginyan](https://wordpress.org/support/users/arthur-gareginyan/)
 * (@arthur-gareginyan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10819855)
 * [@leopard-lady](https://wordpress.org/support/users/leopard-lady/) You’re welcome!
 * Have a great day! 🙂
 *  Thread Starter [Ronald Montenegro](https://wordpress.org/support/users/rodmontgt/)
 * (@rodmontgt)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10820199)
 * [@arthur-gareginyan](https://wordpress.org/support/users/arthur-gareginyan/) 
   thanks for your solution and taking your time
 *  Plugin Author [arthur-gareginyan](https://wordpress.org/support/users/arthur-gareginyan/)
 * (@arthur-gareginyan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10820290)
 * [@rodmontgt](https://wordpress.org/support/users/rodmontgt/) You’re welcome!
 * Have a great day! 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘website went down after applied some code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/my-custom-functions_0e1030.svg)
 * [My Custom Functions](https://wordpress.org/plugins/my-custom-functions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-custom-functions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-custom-functions/)
 * [Active Topics](https://wordpress.org/support/plugin/my-custom-functions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-custom-functions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-custom-functions/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [arthur-gareginyan](https://wordpress.org/support/users/arthur-gareginyan/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/website-went-down-after-applied-some-code/#post-10820290)
 * Status: resolved