WordPress.org

Ready to get started?Download WordPress

Forums

RecipePress reloaded
[resolved] Fatal error: Using $this (7 posts)

  1. Hellnik
    Member
    Posted 3 months ago #

    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/

  2. Jan Koester
    Member
    Plugin Author

    Posted 3 months ago #

    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.

  3. Hellnik
    Member
    Posted 3 months ago #

    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

  4. Hellnik
    Member
    Posted 3 months ago #

    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)))

  5. Jan Koester
    Member
    Plugin Author

    Posted 3 months ago #

    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.

  6. Jan Koester
    Member
    Plugin Author

    Posted 3 months ago #

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

  7. Hellnik
    Member
    Posted 3 months ago #

    Thank you!
    Nice plugin =)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.