WPPizza – A Restaurant Plugin for WordPress › Support › General Support › error : Syntaxerror: Unexpected end of input
- AuthorPosts
- 12 February, 2015 at 5:16 pm #7822
Hi Olly,
We are getting this error when trying to remove ingredients from our touch optimized site.
http://i.imgur.com/A9WzpsH.png
Any suggestions?
Regards,
13 February, 2015 at 10:52 am #7830as the coding of the plugin doesn’t change regardless of whether on mobile or desktop and you only experience that error on a mobile device, my guess would be that one of your plugins (probably the one that deals with mobile things) throws an error (and it’s probably a missing or too many brackets somewhere)
turn on debug and have a look at your debug.log
14 February, 2015 at 11:20 am #7843Hi Olly,
Cheers for the reply but I’m still struggling with this.
I’ve contacted WPTouch and they blaming your plugin.
I’m stuck in the middle here. I’ve tried enabling debug logs I’ve checked the code for errors and I still have no idea what is causing this and where to look.
If you have any ideas of things we can try I would appreciate it.
Cheers,
14 February, 2015 at 11:40 am #7844if you give me admin access i’ll have a look,
14 February, 2015 at 11:42 am #7845mind you…wptouch doesn’t even seem to be active on your site….
14 February, 2015 at 11:54 am #7846This reply has been marked as private.14 February, 2015 at 12:36 pm #7847>It’s on the test site
even better
i’ll have a look. lets see what i can find14 February, 2015 at 12:55 pm #7848can i get ftp access to the test site ?
14 February, 2015 at 12:58 pm #7849btw dont panic when you see an error on that test site at the moment, just going throughg some process of eliminnation…
14 February, 2015 at 1:09 pm #7850This reply has been marked as private.14 February, 2015 at 1:15 pm #7851thanks (will make life easier)
14 February, 2015 at 1:27 pm #7852No problem, if you need anything just ask.
Also the test site is for test we have backups so feel free to try anything.Also we tried to add different ingredients to different meal sizes it came out perfect but we couldnt add to cart. I’ll make a new post about this we more details later on.
14 February, 2015 at 4:06 pm #7853all very odd,
when i download all your plugins and themes etc and use it here , it just works….“the unexpected end of input ” error does not get put into the debug log
do you have access to your general server error logs ?>but we couldnt add to cart
which menu item ? (i somewhat think this is all related)
14 February, 2015 at 4:13 pm #7854Only have the error log on cpanel and nothing is logged there.
The not adding to cart is when I was testing new functions in the ingredients extension. Any item I added that used the only for certain meal size exclude option wouldn’t add to the cart.
14 February, 2015 at 5:13 pm #7855i think i’m getting there….
need to dig a bit deeper, but i’m reasonably certain that something in wptouch – with some settings – downgrades jquery to version 1.2 (or something)in which case none of this is a surprise…i’ll write a bit more when i know exactly whats going on
14 February, 2015 at 5:27 pm #7856I’m guessing it relate to this bit
Tools & Debug
Use jQuery 2.x in themes (faster for mobile devices) instead of WordPress’ versionI’m extremely grateful for your work on this.
14 February, 2015 at 5:40 pm #7857>I’m guessing it relate to this bit
somewhat (but turning it off throws other errors as there is still the migrating active – just trying to get my local install to add this too so i can find out where to turn it off again)
somehow i think its down to the video handling when needed how it is implemented in wptouch…
i’ll let you know when i know (as i said , locally here it works fine)
14 February, 2015 at 6:20 pm #7858Look forwards to your reply.
We don’t need video on mobile 😉
It doesn’t work locally for me, I get the same error.
14 February, 2015 at 6:26 pm #7859so, 7 hours later it transpires that it has nothing (or only marginal) to do with jquery or the version used or any kind of migration , but solely with the fact , that wptouch decides to randomly add classes all over the place…..
i am somewhat torn between having a go at them and thinking I could take account of other plugins doing this sort of thing
in any case, now i know what the story is, and having messed around with the AI plugin on your site, let me do a tidy version as a proper update which will take care of this…
will probably take half an hour or so
14 February, 2015 at 6:29 pm #7860as it happens, while doing all this, i also discovered a couple of other – albeit inconsequential and minor – things i might as well do/improve while updating the plugin…
- AuthorPosts
- The topic ‘error : Syntaxerror: Unexpected end of input’ is closed to new replies.