WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Hello OllyI really have a big problem. I…
- AuthorPosts
- 19 May, 2014 at 5:05 pm #3968Per Schmidt
Hello Olly
I really have a big problem.
I get WPPIZZA to work in my WordPress but when I use my mobile browser on my phone and will add item to my shopping cart I get an errorerro: SyntaxError:
Unexpected token<I have read posts http://wordpress.org/support/topic/syntax-error-different-browsers and added
define (‘WP_DEBUG’, true);
define (‘WP_DEBUG_LOG’, true);
define (‘WP_DEBUG_DISPLAY’, false);But no help.
You know what I should do.A very prostrate user of WPPizza 🙂
Per Schmidt
19 May, 2014 at 6:35 pm #3969that’s because your theme (or the plugin you are using to display the mobile site – i hazard a guess it’s this one http://wordpress.org/plugins/wordpress-mobile-pack/)
output the whole page when doing an ajax request for no reason i can see…
(not even talking about:
Compatible up to: 3.0.5
Last Updated: 2012-7-5
)19 May, 2014 at 6:59 pm #3970apart from the above, also consider that – to output the whole xml as it does on ajax requests it it will – more than likely – run a ton of functions and queries to get there which will screw your server performance no end….
i haven’t looked at the code as to what it is exactly doing, but to me it seems the plugin runs the whole shebang everytime something is happening even if it has nothing to do with anything it does…
personally (and looking at the reviews – especially the one and two stars of that plugin ) I would really use something else
- AuthorPosts
- The topic ‘Hello OllyI really have a big problem. I…’ is closed to new replies.