WordPress.org

Ready to get started?Download WordPress

Forums

Simple Image Sizes
[resolved] Thumbnail Regeneration Area Missing - Fatal Error Instead (8 posts)

  1. bahia0019
    Member
    Posted 1 year ago #

    Installed, and went to regenerate thumbnails and found this instead.
    Fatal error: Call to undefined function _esc_html_e() in /home/flauntyo/public_html/joshuagull/wp-content/plugins/simple-image-sizes/inc/class.admin.php on line 308

    Disabled all plugins, tried Twenty Twelve, same behavior.

    Appreciate your help.

    http://wordpress.org/extend/plugins/simple-image-sizes/

  2. goldfred
    Member
    Posted 1 year ago #

    same problem with me :

    Fatal error: Call to undefined function _esc_html_e() in /homez.614/blabla/www/blabla/wp-content/plugins/simple-image-sizes/inc/class.admin.php on line 308

    The rest of the media settings is no longer available (fancybox, ...)

  3. bwhontwerpers
    Member
    Posted 1 year ago #

    Same here. The error (using the _exc_html_e() function) is generated because of a missing template folder (/templates/options-media.php). After the upgrade to 2.4 (even tried a re-install), the Simple Image Sizes plugin folder doesn't contain a templates folder anymore (although I'm not sure if this folder was ever there in the previous versions).

    Haven't found a solution yet. You could remove the _esc_html_e() tag, but that doesn't fix the problem, it just shows you the initial error about the missing template folder.

    - Jelle

  4. bwhontwerpers
    Member
    Posted 1 year ago #

    UPDATE: It seems that the use of an external template file is a new functionality. Found a bunch of HTML code generating the form in an older version, but placing this code in a home-made template file doesn't work (array expected parameter errors).

    Seems like the necessary /templates/ folder isn't build when installing the plugin.

  5. bwhontwerpers
    Member
    Posted 1 year ago #

    TEMPORARY FIX:

    1) Remove the plugin from the WordPress admin
    2) Download the Github master version of the plugin (https://github.com/Rahe/Simple-image-sizes/archive/master.zip)
    3) Upload the plugin folder via FTP to /wp-content/plugins/
    4) Activate the plugin from the WordPress admin
    5) Ready to go

    The Github download has the necessary /templates/ folder and other additional files included.

  6. Rahe
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    My versionning software haven't added the files to the repository...
    This is resolved in 2.4.1 :)

    Regards,
    Rahe

  7. bahia0019
    Member
    Posted 1 year ago #

    Thanks Rahe!
    You the bomb.

  8. bwhontwerpers
    Member
    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.