Viewing 13 replies - 16 through 28 (of 28 total)
  • YEAH!I got it fixed! Let me say that this is the first time I have ever went into the backend of the website before… these forums are amazing! I deleted the installed theme that caused the issue, and then I also had to go in and edit the footer_output line as directed above. It all worked and my site is now going. HUGE thanks to all of you!!!

    YEAH!I got it fixed! Let me say that this is the first time I have ever went into the backend of the website before… these forums are amazing! I deleted the installed theme that caused the issue, and then I also had to go in and edit the footer_output line as directed above. It all worked and my site is now going. HUGE thanks to all of you!!!

    Thread Starter Sybre Waaijer

    (@cybr)

    Hi there annalea.avery,

    Good to hear it’s working again. However, I do not recommend the mentioned fix in the second post, but it won’t do much harm for your visitors. – Let’s just keep it like that for now and wait for an update on this plugin soon.

    Have a great day!

    First, I tried to do it without using the fix that the second post had put up, but it still didn’t work. So that is why I decided to try it. I wonder if I’ll have to “undo” that fix when an updated plugin comes available, before updating the plugin? I’ll keep checking the forums for a better fix. Thanks for the information!

    @nathanrice
    The plugin is calling genesis_html5() function (not using a hook @ronrennick) without checking it exists. If someone switches themes to a non-genesis one while the plugin is active you get a white screen of death. This just happened to a client of mine.

    That’s not really acceptable, especially when it is only used for a boolean test. Better to wrap it in your own function that handles the function not being available and call that.

    Here’s a patch — https://gist.github.com/mikelittle/a82738276a5eafdb4280

    Thread Starter Sybre Waaijer

    (@cybr)

    @annalea.avery
    When an update is available and you update the plugin it will overwrite all changes made.
    This is the reason why many plugin authors and theme makers (like StudioPress) create hooks so you can act upon the plugin or theme through another plugin and still be able to update their plugin without your fix/add-on being affected.

    However, since you’ve done a “bug fix”, you shouldn’t have to worry about it ??

    @mike Little
    I like my fix better at line 46 :3 since it won’t be called anymore (thus saving process power) when the user switches to a non-Genesis theme.
    P.S. I see you’ve helped develop WordPress, I’ll back off now <3

    @cyber
    If you switch back to a genesis theme your fix will stop (part of) the desired functionality of the plugin from working. Besides which, you have the syntax wrong: you don’t include the parentheses with the function name when calling function_exists(). https://php.net/manual/en/function.function-exists.php

    Thread Starter Sybre Waaijer

    (@cybr)

    @mike Little
    Nooo I mean this fix:
    Line 46, from:
    if ( ! defined( 'PARENT_THEME_VERSION' ) || ! version_compare( PARENT_THEME_VERSION, '2.1.0', '>=' ) ) {

    change to:
    if ( ! defined( 'PARENT_THEME_VERSION' ) || ! version_compare( PARENT_THEME_VERSION, '2.1.0', '>=' ) || wp_get_theme(is_genesis_child()) ) {

    Plugin Author Nathan Rice

    (@nathanrice)

    This has been fixed, everyone. The latest version no longer uses a Genesis function in the boolean check.

    I’m still unable to access my website. I read this thread late last week when I first got the issue, and wanted to wait and see what everyone said. I have the exact same issue as annalea.avery (I copied/pasted her post with a few changes):

    I get the following error message: Fatal error: Call to undefined function genesis_html5() in /home1/aelanna/public_html/wp-content/plugins/genesis-simple-edits/plugin.php on line 102

    I also cannot access my dashboard or any admin area of my webpage. I see all of the responses above, but I’m not sure how to go about accessing my FTP in order to change the HTML or fix the plugin. My website is https://www.posheddivas.com.

    I’m not sure where to go from here….

    Plugin Contributor Ron Rennick

    (@wpmuguru)

    @ponylovergt – you need to delete the plugin with your web account control panel/FTP then install the latest version.

    @ponylovergt You access your admin area through a separate program, like Filezilla. You will need your hosting credentials and such to access your back end. It’s like looking at it from a folder perspective. I’m a beginner at these things, so if I explain it incorrectly I apologize. Good luck!

    Can somebody PLEASE explain to me how to get the new version of wordpress on my site? I am getting an error code every time I try to access ANYTHING on my site. I paid someone to install wordpress on my domain the first time around so I really have NO idea what I am doing. I have a wordpress for dummies book I am trying to read to get my site running and I can’t edit or change anything because of this code. PLEASEEEE someone help. Thanks!

Viewing 13 replies - 16 through 28 (of 28 total)
  • The topic ‘Fatal error in 2.1.0’ is closed to new replies.