• Forum
  • FAQ
  • Docs
Notice: In order to post a support question you have to have an account and be logged in.
Register  or  Login
  1. Hi Max,

    I've just updated the theme, but unfortunately, now I can no longer access to my blog.
    Instead, I get this error message:

    Fatal error: Call to a member function display() on a non-object in /homez.35/wrapmyca/www/blog/wp-admin/includes/class-wp-upgrader.php on line 1385

    Thank you in advance, and excuse me for my bad English (google translation)

    Attachments

    1. Capture.PNG (60.7 KB, 222 downloads) 11 months old
    julhid
    11 months ago
  2. And FTP

    julhid
    11 months ago
  3. Same error here. The site does come back (un-updated) in about 5 min though.

    throdoff
    11 months ago
  4. Same here again...

    Arvid
    11 months ago
  5. Same here and now my site is stuck in this mode

    Attachments

    1. Screen_Shot_2012-06-14_at_3.43.53_PM.jpg (98 KB, 221 downloads) 11 months old
    codiac2600
    11 months ago
  6. same problem for me it was really not nice!
    The site was stuck in maintenance mode and i had a " Fatal error: Call to a member function display() on a non-object in /web/htdocs/www.samuelchinellato.it/home/wp-admin/includes/class-wp-upgrader.php on line 1385". For resolve the problem i had to delete manually the .maintenance file in wp using an ftp connection.
    The system still asking for a thefuse update

    alexchini
    11 months ago
  7. Hi guys,
    here is the solution and changes that need to be made in theme files to solve this problem. The changes can be made in parent theme folder.

    1. In framework/core/UPDATER.php this line:

    $upgrader = new TF_Theme_Upgrader(new Bulk_Theme_Upgrader_Skin(compact('nonce', 'url')));
    

    was replaced with:
    $upgrader = new TF_Theme_Upgrader(new TF_Bulk_Theme_Upgrader_Skin(compact('nonce', 'url')));
    

    2. In framework/helpers/UPGRADER.php after this code:

    if (!class_exists('WP_Upgrader'))
        require ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
    

    add this one:
    class TF_Bulk_Theme_Upgrader_Skin extends Bulk_Theme_Upgrader_Skin {
        function before() {
            Bulk_Upgrader_Skin::before( $this->pk_name );
        }
    
        function after() {
            Bulk_Upgrader_Skin::after( $this->pk_name );
        }
    }
    

    Then replace this code:

    $this->skin->theme_info['Name'] = $update;
    

    with this one:
    $theme = get_template();
                $this->skin->theme_info = $this->theme_info($theme);
                $this->skin->pk_name = $update;
    

    and this one:

    'destination' => WP_CONTENT_DIR . '/themes/' . get_template() . $dest,
    

    with this code:
    'destination' => WP_CONTENT_DIR . '/themes/' . $theme . $dest,
    

    After this all works fine for sure. If someone would have any problems with this changes please send wordpress installation link, username and password from wordpress dashboard and ftp details to support@themefuse.com and also add there a link to this topic and I would solve the problem.

    Sorry for created inconveniences.

    Cheers,
    Max.

    Max
    11 months ago
  8. ok it worked for me thx

    alexchini
    11 months ago
  9. It's ok for me.

    Thanks a lot Max !

    julhid
    11 months ago
  10. Didn't work for me, I now get this error:

    ir_failed', $this->strings['tf_bk_mkdir_failed'], $tf_bk_folder); } } // Backup files. $result = copy_dir($source_folder, $tf_bk_folder, array('cache','install')); if (is_wp_error($result)) return $result; $tf_bk_created = true; return true; } } ?>
    Fatal error: Class 'TF_Bulk_Theme_Upgrader_Skin' not found in /public/sites/www.arvidhahne.nl/wp-content/themes/photoartist-parent/framework/core/UPDATER.php on line 166

    Arvid
    11 months ago
  11. It seems that you did something wrong as all works fine for sure. Please send wordpress installation link, username and password from wordpress dashboard and ftp details to support@themefuse.com and I would help. Please also add there a link to this topic. Thanks.

    Max
    11 months ago
  12. @Arvid
    You will find in this link my modified files. This could perhaps help you ;)

    https://docs.google.com/folder/d/0B5mD3hgGDf30LVVERVVKTEV2NWc/edit

    julhid
    11 months ago
  13. @julhid
    Thanks a lot! I still can't figure out what went wrong, but your documents worked perfectly :-)

    Arvid
    11 months ago
  14. @Arvid
    No problem ;)

    julhid
    11 months ago
  15. i used the above instructions and it worked then it said update to 2.7 and i tried upgrading and again i have the same error.

    sent emal to supprt team but no response yet. please do something.

    Sagalian
    11 months ago
  16. @ julhid

    I was having an error occur after editing changes as well, but your documents worked flawlessly. Thanks for posting!!!!

    smo
    11 months ago
  17. This is just pathetic...

    First time ever I tried to use your "update engine" and it makes my site unusable...

    And all you suggest is to give you access to all my site???

    And you still have outdated version of theme on your site, so I just can't reinstall bug-free version???

    WujekDR
    11 months ago
  18. Hi,
    I've sent latest theme version with all updates to your mail. Replace old theme folder with the new one and all would work fine.

    Sorry for created inconveniences with updates, there were made some changes in latest wordpress release to functions that we used for update and this is the reason why this error appeared.

    Cheers,
    Max.

    Max
    11 months ago
  19. **********************FIXED************************

    I was able to resolve the issue by manually
    creating the folders using my hosting FTP.

    ******************************************************

    I'm unable to update my site too. I tried using Max's instructions and it did not work. Additionally, I tried julhid's files which also failed.

    Replaced username and website for anonymity.

    Error Message:

    An error occurred while updating Framework: Could not create backup directory. /home/user/website.com/wp-content/tfuse_bk_writer/writer-parent_2012-06-22.

    An error occurred while updating ThemeMods: Could not create backup directory. /home/user/website.com/wp-content/tfuse_bk_writer/writer-parent_2012-06-22.

    An error occurred while updating Templates: Could not create backup directory. /home/user/website.com/wp-content/tfuse_bk_writer/writer-parent_2012-06-22.

    Adderal
    11 months ago
  20. Max,

    Can you email me the latest theme version updates via email please?

    I have the photo artist theme and I have tried both the code changes you suggested with no luck.

    Thank you!

    info@emh3.com
    11 months ago

12


Add Reply

You must log in to post.

 

Add a new topic!

Chances are your issue is already answered, but if it’s not, you can always create a new topic.

Add new topic

Search forums

Searching for something specific? Type something and press Enter to search.