Support » Plugin: RecipePress reloaded » Fatal error: Using $this

  • Resolved Hellnik

    (@hellnik)


    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/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jan Koester

    (@dasmaeh)

    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.

    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
    File size: 356 kb

    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

    (@dasmaeh)

    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

    (@dasmaeh)

    I did indeed chnange something that caused this error. I simply didn’t remeber.
    It’s fixed in 0.5.6

    Thank you!
    Nice plugin =)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: Using $this’ is closed to new replies.