Community Forums › Forums › Archived Forums › Design Tips and Tricks › Woocommerce freezing site with Streamline at checkout
Tagged: freeze, streamline, white screen, WooCommerce
- This topic has 4 replies, 2 voices, and was last updated 9 years, 11 months ago by
kilerb.
-
AuthorPosts
-
February 21, 2015 at 2:18 am #141611
kilerb
MemberHi, I just installed a Genesis theme and activated the Genesis Connect for WooCommerce plugin. The site is nudistcomedy.com. I only have Paypal activated for a payment option. It's all setup and I've tested it over and over. When I got to checkout it was freezing and then going to a white screen. Sometimes it wouldn't go to Paypal and freeze with a white screen. Sometimes it would freeze when I returned from Paypal. The only way to fix this was to go to my FTP program, delete the child theme and re-install it. So I up'd the memory in wp-config.php to 96mb and my PHP script memory is at 128mb now. It still freezes when I complete checkout. I also made sure the URL's matched in the general settings and that the woo settings didn't say force to secure. So I just turned the debugging to true and on my "shop" page this is there...
Warning: call_user_func_array() expects parameter 1 to be a valid callback, no array or string given in /home/nudistcomedy/public_html/wp-includes/plugin.php on line 213
So I continued to try and buy something after seeing that. When I hit go to check out it said this...
Fatal error: Cannot redeclare genesis_before_content() (previously declared in /home/nudistcomedy/public_html/wp-content/themes/streamline-pro/functions.php:165) in /home/nudistcomedy/public_html/wp-content/themes/genesis/lib/functions/deprecated.php on line 462
After trying to check out just now, I went into the woo settings to check something and it said
Fatal error: Cannot redeclare genesis_before_content() (previously declared in /home/nudistcomedy/public_html/wp-content/themes/streamline-pro/functions.php:165) in /home/nudistcomedy/public_html/wp-content/themes/genesis/lib/functions/deprecated.php on line 462
Any idea what is causing this? Much appreciated!!!
http://www.nudistcomedy.comFebruary 21, 2015 at 7:04 am #141628Victor Font
ModeratorYou have a core genesis function genesis_before_content() getting declared in the child theme's functions.php file. You cannot redeclare genesis core functions in a child theme.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 21, 2015 at 11:16 am #141655kilerb
MemberThanks for your reply. Is this because I added a sidebar? I followed the instructions on how to use Genesis hooks and the functions.php file. Is that what caused this? If so, how do I add it without disturbing things. I made the header into a slider. I have added sidebars in the past without any problems. Or is that not what it is and I am totally off-base here? Thanks!!!
February 21, 2015 at 11:54 am #141661Victor Font
ModeratorGenesis themes already come setup for a left and right sidebar. All you have do do is select the format, which can be done on a site level through Genesis/Theme Settings or on a page level by selecting the format. If you install the Genesis simple sidebars plugin, you can create as many sidebars as you'd like and assign different sidebars to individual pages.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?February 21, 2015 at 11:57 am #141663kilerb
MemberThanks... I'll look into that next. I added a sidebar so I could have the slider at the very top of the site. Never used that plugin before. Always did it this way. I'll check that out. I'm on hold with support right now.
Andrea was just looking at the site and she said when she added a product she saw a console error...
http://nudistcomedy.com/wp-admin/admin-ajax.php Failed to load resource: the server responded with a status of 500 (Internal Server Error)The admin-ajax.php script is one commonly used by WordPress for many different functions, and it's possible this is why you're having trouble. I would suggest reaching out to your host's technical support team with the error above so they can take a look at your server logs and provide more insight.
Does that give any further clue from your view?
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.