-
AuthorPosts
-
November 30, 2015 at 6:29 pm #684722
I’m running WP Touch plugin and after the new theme update its causing a fatal error. The error is as follows
Fatal error. Call to undefined function x_get_stack() in /www/wp-content/plugins/cornerstone/includes/integrations/x-theme.php on line 207
Please help
November 30, 2015 at 6:38 pm #684736My website is http://www.asatera.com if you visit it on a mobile device, you will see the error.
November 30, 2015 at 8:59 pm #684988Hey there,
Thanks for bringing this to our attention. We’ll look into resolving this with a new update soon.
December 11, 2015 at 9:47 am #702825Same problem here, cornerstone 1.0.11 and wptouch pro 4.0.12
stderr: PHP Fatal error: Call to undefined function x_get_stack() in /var/www/vhosts/fratelliabagnale.it/httpdocs/wp-content/plugins/cornerstone/includes/integrations/x-theme.php on line 207
i have disabled all the plugins in wptouch pro settings, without success
December 11, 2015 at 11:01 am #702921Hi there,
Sorry to hear you’re having issues with this. Try adding this code to
functions.php
of a child theme:function cornerstone_wptouch_compat($atts) { remove_all_filters('cornerstone_generator_map'); return $atts; } add_filter('cornerstone_generator_map','cornerstone_wptouch_compat', -9999);
December 14, 2015 at 5:57 am #705817Solved by adding your code, thanks!!!!
December 14, 2015 at 6:19 am #705848You’re welcome.
December 17, 2015 at 9:25 am #710905Hello,
I am also having the same problem, but the above code doesn’t fix it.
I’ve just updated everything, and that didn’t solve it.
I only see the error on iPhones; on Android phones it works correctly.
December 17, 2015 at 1:34 pm #711167Hi Jeroen,
Thanks for writing in! Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
December 18, 2015 at 2:28 am #712105This reply has been marked as private.December 18, 2015 at 3:43 am #712187Hi Jeroen,
It’s probably your iPhone’s browser cache. This kind of error and fix are running within the server (PHP), hence the output generated should be the same for all browsers.
Please clear your browser cache and test again.
Thanks.
December 18, 2015 at 8:46 am #712465Hi,
We tested it on iPhones that never saw this website before, and the problem still occurred.
Also after we deleted the history and cookies.Or are you seeing the mobile website correctly when on iPhone?
December 18, 2015 at 2:10 pm #712843Hi there,
I checked again and it looks like it’s cached on my end. Yes, it’s not working because it’s trying load different theme on mobile. It’s also not working on my androids phone with screen resolution under 767px, but works on android with greater screen (tablet) because WP Touch is not active on them.
And yes, looks like the issue is with WP Touch plugin. Cornerstone can simply see X theme as the active one, but it serve different theme on mobile. WP Touch should tell which is active theme for mobile instead of just serving it, so the plugins that are not dependent to it will not execute script that are meant for X theme.
You can also turn off WP Touch target devices at Admin > WP Touch Pro > Appliances.
You should contact WP Touch author to since we aren’t sure how they implement their feature on top of other theme.
Thanks!
December 21, 2015 at 7:04 am #715826Hello,
I don’t know exactly what I did, because it suddenly didn’t work on my android phone either, but after deleting all wptouch files and installing it again (I tried this more times) it works again, on all mobile devices I tested!
I also disabled some plugins (including Cornerstone) in WPtouch, so I think that did the most.
Thank you as always for helping me!
December 21, 2015 at 10:14 am #716010Glad to hear you got it sorted out Jeroen. Cheers! 🙂
-
AuthorPosts