New Landing How can we help? Themeforest Theme Support Dante Fatal error: Call to undefined function sf_woocommerce_activated()

Viewing 15 posts - 1 through 15 (of 19 total)
  • Posted in: Dante
  • #84822
    vasikgreif
    Member
    Post count: 21

    After I create new site on my multisite install, get activation email and click the activation link, I get:

    Fatal error: Call to undefined function sf_woocommerce_activated()

    How can I fix that?

    #84925
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin -> Appearance -> Themes -> Activate Dante theme to avoid this error.
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #85267
    vasikgreif
    Member
    Post count: 21

    Hi Mohammad, I have Dante acivated, it works fine, but as soon as I go to http://domain.com/wp-activate.php, I get this error.

    Fatal error: Call to undefined function sf_woocommerce_activated() in /home/www/domain.com/www/wp-content/themes/dante/header.php on line 214

    #85270
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @vasikgreif,

    Sounds like you may not have the theme fully uploaded. Please can you try uploading again, and confirm which version you are using?

    – Ed

    #85271
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please go to Admin -> Appearance -> Editor -> Open to edit Edit functions.php and put this code

    if ( ! function_exists( 'sf_woocommerce_activated' ) ) {
    		function sf_woocommerce_activated() {
    			if ( class_exists( 'woocommerce' ) ) {
    				return true;
    			} else {
    				return false;
    			}
    		}
    	}
    

    Thanks

    #85292
    vasikgreif
    Member
    Post count: 21

    I updated to latest Dante (2.6.1), now I’m getting:

    Fatal error: Call to undefined function sf_get_post_meta() in /home/www/domain.com/www/wp-content/themes/dante/header.php on line 82

    As I said, the theme works fine otherwise, I get this problem only on the /wp-activate.php

    #85398
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That’s strange, it shouldn’t happen.
    Can you provide us your website url?

    Best Regards,
    Rui

    #85399
    vasikgreif
    Member
    Post count: 21
    This reply has been marked as private.
    #85414
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @vasikgreif,

    These errors indicate something is wrong with your setup, as in the theme isn’t correctly installed. How are you installing it?

    – Ed

    #85485
    vasikgreif
    Member
    Post count: 21

    Uploading the files to FTP, activating the theme.

    #85580
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I notice something in your WordPress Dashboard. It says that you only have 100mb of space and that you are using 100% of that space.

    Probably you are running out of space and the theme wasn’t completely uploade.
    Please delete every unnecessary software that you have in that server and try to upload everything again.

    Also check for errors in your ftp upload.

    Best Regards,
    Rui

    #85582
    vasikgreif
    Member
    Post count: 21

    Hi Rui,
    no, this was just WordPress multisite setting, I switched it to 1000MB. Lots of free space on my FTP.

    Would giving you FTP access help?

    Thanks

    #85648
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    yes, I can download the files and compare with our latest version

    #85651
    vasikgreif
    Member
    Post count: 21
    This reply has been marked as private.
    #85756
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @vasikgreif,

    I’d advise you take this issue up with your host, as there is clearly a setup issue here with the theme files not being loaded correctly.

    There is no issue with the theme here. Please let us know once you’ve managed to resolve this with your host.

    – Ed

Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register