Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Fatal error: Call to undefined function sf_woocommerce_activated()
New Landing › How can we help? › Themeforest Theme Support › Dante › Fatal error: Call to undefined function sf_woocommerce_activated()
- This topic has 18 replies, 4 voices, and was last updated 10 years by Swift Ideas – Ed.
-
Posted in: Dante
-
June 23, 2014 at 6:23 pm #84822
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?
June 24, 2014 at 3:14 am #84925Hi,
Please go to Admin -> Appearance -> Themes -> Activate Dante theme to avoid this error.
Thanks 🙂
With Best Regards
Swift IdeasJune 24, 2014 at 3:14 pm #85267Hi 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
June 24, 2014 at 3:21 pm #85270Hi @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
June 24, 2014 at 3:21 pm #85271Hi,
Please go to Admin -> Appearance -> Editor -> Open to edit Edit functions.php and put this codeif ( ! function_exists( 'sf_woocommerce_activated' ) ) { function sf_woocommerce_activated() { if ( class_exists( 'woocommerce' ) ) { return true; } else { return false; } } }
Thanks
June 24, 2014 at 3:57 pm #85292I 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
June 24, 2014 at 10:04 pm #85398Hi,
That’s strange, it shouldn’t happen.
Can you provide us your website url?Best Regards,
RuiJune 24, 2014 at 10:17 pm #85399This reply has been marked as private.June 25, 2014 at 12:44 am #85414Hi @vasikgreif,
These errors indicate something is wrong with your setup, as in the theme isn’t correctly installed. How are you installing it?
– Ed
June 25, 2014 at 6:18 am #85485Uploading the files to FTP, activating the theme.
June 25, 2014 at 10:18 am #85580Hi,
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,
RuiJune 25, 2014 at 10:22 am #85582Hi 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
June 25, 2014 at 11:35 am #85648yes, I can download the files and compare with our latest version
June 25, 2014 at 11:38 am #85651This reply has been marked as private.June 25, 2014 at 1:44 pm #85756Hi @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
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.