WPPizza – A Restaurant Plugin for WordPress › Support › Add-Ons › Extensions › Preorder › Support › Text before articels and order time missing
- AuthorPosts
- 25 April, 2016 at 2:23 am #17607
Hi Olly
The text above the menu items when the shop is closed does not appear (it does in the shopping cart)
Also the setting for the time when an order should be delivered is missing
(was working but I can’t say after which upgrade it stopped since only now a client made me aware)
I sent an email with login data
Thank you and best regards,
Willi25 April, 2016 at 2:26 am #17608This reply has been marked as private.25 April, 2016 at 2:38 am #17609ok.
i’ll check in out in more detail tomorrow.(kind of late here)25 April, 2016 at 2:55 am #17610just having had a quick look.
your theme loads an additional (and old) version of jquery alongside the version that comes with WP.that’s never a good idea in any case, and I suspect your problem lies there
(doing that will most likely also cause many other issues now or in the future)
25 April, 2016 at 12:02 pm #17612Hi Olly
Thank you for the quick reply.
I assume the older jquery is a leftover from or loaded by another plugin. How do I remove it or prevent it from loading?
Best regards,
Willi25 April, 2016 at 12:18 pm #17613>I assume the older jquery is a leftover from or loaded by another plugin.
looks to me more like it’s your theme, but i cannot tell .>How do I remove it or prevent it from loading?
remove the plugin that loads it or get it fixed by the plugin developer and if it’s the theme remove it / fix it there26 April, 2016 at 1:02 pm #17634I just got a answer from the theme developer (below). I wonder if this makes any sense to you. I writing now Themler support.
“TrePesciolino theme is a Themler theme. It includes jQuery version same as any Themler theme for WordPress, e.g. like default Themler theme.
As I understand, Themler themes for WordPress include 2 jQuery files: one from WP, second from the Theme. They both can work together in the same page, because they use jQuery.noConflict() method:
https://api.jquery.com/jquery.noconflict/So Themler theme uses jQuery from theme, while all other scripts, e.g. from plugins, use jQuery from WP.
If you have any other questions about jQuery version in the theme, please contact Themler support. They should have more information.”
26 April, 2016 at 1:32 pm #17635So they are loading their own(old) jquery alongside the WP jquery in no conflict mode.
Though in principle that’s ok i guess, in my book that’s still a ridiculously stupid idea.In any event, I just downloaded and installed their blank/default theme and the text shows up just fine, so I can only guess it’s some customisation or some other plugins that cause the issue,
So I would suggest to do the following to narrow it down.
a) disable all other plugins and see if it works then and re-enable one by one to see which one causes the problem
b) try a default theme (2016 for example) and see if it works there – maybe there are some customisations in the theme somewhere…26 April, 2016 at 1:43 pm #17636after a bit more digging:
the problem is , that something in your setup/theme/plugins is blocking the script that comes with the plugin
wppizza-preorder/js/scripts.cacheon.js
from loading26 April, 2016 at 1:46 pm #17637enable debug. perhaps it will tell you something
https://www.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/26 April, 2016 at 3:05 pm #17647So they are loading their own(old) jquery alongside the WP jquery in no conflict mode.
Though in principle that’s ok i guess, in my book that’s still a ridiculously stupid idea.This is exactly what I thought. I am an old animator and graphic artist and in the process of learning WordPress, deluxpizza being my first big project. I don’t understand why they would use an older jquery when the latest is in WordPress already, go figure. I think I better start soon redesigning the entire site with a normal, default theme. Paying my dues.
Did a) and b) – no change
enabelt debug and got the following:
[26-Apr-2016 13:54:53 UTC] PHP Warning: ksort() expects parameter 1 to be array, null given in /home/deluxpi1/public_html/wp-content/plugins/wppizza-add-ingredients/ajax/get-json.php on line 2557
26 April, 2016 at 3:12 pm #17649>re debug warning:
that’s inconsequential (though I will address that when i get the chance)>re a)/b) not making any difference:
if you want , you could install duplicator on your site (https://wordpress.org/plugins/duplicator/) and allow me to download your install to my local server here and investigate without having to touch your site.
maybe i can find out what’s going on26 April, 2016 at 3:20 pm #17652This reply has been marked as private.26 April, 2016 at 3:26 pm #17656This reply has been marked as private.26 April, 2016 at 3:48 pm #17659can you please increase the WP memory limit on that site.
creating a duplicator package times out all the time and i suspect it is because of this26 April, 2016 at 3:55 pm #17661i also get this message:
“This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase ‘Connection Timeout’.”can you please talk to whoever is responsible to increase this please.
thanks26 April, 2016 at 5:57 pm #17670forget the last two posts . i have a local copy now.
let me see what i’ll find…
for the moment there’s nothing for you to do until i get back to you..26 April, 2016 at 6:05 pm #17671Sorry, had to leave for 2 hours.
Will wait to hear from you.
Was just looking at my wp-config.php file and it does not contain a line with something like this: define(‘WP_MEMORY_LIMIT’, ’96M’); – guess I would have to ask my provider to increase both, memory and Connection Timeout
26 April, 2016 at 6:17 pm #17672ok, the solution is simple.
in wppizza->preorder the very first option “enable/disable:” must be checked.
the german translation is wrong there and should be the opposite (i.e unchecked to disable the plugin in various places, checked to make it do it’s things)PS: I am not even sure anymore where that translation came from…
26 April, 2016 at 6:54 pm #17673Who would have thought ….
I am going back to the English WP, don’t know why I started using German in the first place.
Thank you very much and best regards
- AuthorPosts
- The topic ‘Text before articels and order time missing’ is closed to new replies.