Title: Fatal error: Using $this
Last modified: August 21, 2016

---

# Fatal error: Using $this

 *  Resolved [Hellnik](https://wordpress.org/support/users/hellnik/)
 * (@hellnik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/)
 * Tested on versions:
    Wordpress 3.9.1 and 3.8.3 RecipePress reloaded 0.5.4
 * Problem 1:
    In the admin panel does not load picture Problem 2: Fill in all fields,
   I created a new post. After the transition to post an error has occurred:
 * Fatal error: Using $this when not in object context in C:\site\htdocs\wp-content\
   plugins\recipepress-reloaded\php\template_tags.php on line 270
 * `if( isset($instruction['image']) && $this->option('recipe_images_clickable','
   0') == 1 ) { $instr_class = "has_thumbnail"; }`
 * [https://wordpress.org/plugins/recipepress-reloaded/](https://wordpress.org/plugins/recipepress-reloaded/)

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

 *  Plugin Author [Jan Koester](https://wordpress.org/support/users/dasmaeh/)
 * (@dasmaeh)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915180)
 * Problem1: Please give some more information. What did you do? Where should a 
   picture apear?
 * Problem2: This indeed is a bug. I will fix it later today.
 *  Thread Starter [Hellnik](https://wordpress.org/support/users/hellnik/)
 * (@hellnik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915204)
 * > Problem1: Please give some more information. What did you do? Where should 
   > a picture apear?
 * I installed the new wordpress, and downloaded and activated the plugin.
    Then:
   Recipes->Add New->Set featured image->Upload Files Result [http://sa.uploads.ru/BQ5ZE.jpg](http://sa.uploads.ru/BQ5ZE.jpg)
   File size: 356 kb
 *  Thread Starter [Hellnik](https://wordpress.org/support/users/hellnik/)
 * (@hellnik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915205)
 * Tested on version recipepress-reloaded.0.5.3.zip(the file contains version 0.5.2)
   
   Everything works well and without errors. The images are loaded)))
 *  Plugin Author [Jan Koester](https://wordpress.org/support/users/dasmaeh/)
 * (@dasmaeh)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915226)
 * I’m pretty sure this problem is not related to RecipePress Reloaded as I’m simply
   using the featured image function provided by wordpress. However I will check
   for any changes between 0.5.3 and 0.5.4.
    As I won’t have time to look any further
   into this until monday, please be patient.
 *  Plugin Author [Jan Koester](https://wordpress.org/support/users/dasmaeh/)
 * (@dasmaeh)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915232)
 * I did indeed chnange something that caused this error. I simply didn’t remeber.
   
   It’s fixed in 0.5.6
 *  Thread Starter [Hellnik](https://wordpress.org/support/users/hellnik/)
 * (@hellnik)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915263)
 * Thank you!
    Nice plugin =)

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

The topic ‘Fatal error: Using $this’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/recipepress-reloaded_c4dbbe.svg)
 * [RecipePress Reloaded](https://wordpress.org/plugins/recipepress-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/recipepress-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/recipepress-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/recipepress-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/recipepress-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/recipepress-reloaded/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Hellnik](https://wordpress.org/support/users/hellnik/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-using-this-1/#post-4915263)
 * Status: resolved