WPPizza – A Restaurant Plugin for WordPress › Support › General Support › Prices not displaying
- AuthorPosts
- 14 December, 2014 at 2:09 pm #6616
The menu items are displayed as expected, but no price is shown, nor the cart button. The currency symbol still shows, though. I’ve tested it in multiple themes, so it’s not a theme issue. And I’ve gone through options and toggled everything relating to price and currency, to no avail.
Still using default values, so it shouldn’t be an input error.
http://www.georgesdeli-marietta.com/?page_id=453
Thanks in advance!
14 December, 2014 at 2:13 pm #6624i would need admin access (either setting your reply private here, or sending the un/pw directly to [email protected]).
can’t tell from the frontend14 December, 2014 at 3:54 pm #6625This reply has been marked as private.14 December, 2014 at 4:27 pm #6626thanks.
can’t see anything really wrong there.
could you enable debug and see if you get any errors there ?https://www.wp-pizza.com/topic/how-to-enable-debug-in-wordpress/
14 December, 2014 at 5:20 pm #6627Errors:
PHP Notice: Undefined offset: 0 in /home/georgesd/public_html/wp-includes/meta.php on line 469
PHP Notice: Undefined index: sizes in …/wppizza-loop.php on line 91
PHP Notice: Undefined index: …/wppizza-loop.php on line 91
PHP Notice: Undefined index: sizes in…/wppizza-loop.php on line 168
PHP Notice: Undefined index: in …/wppizza-loop.php on line 168
PHP Warning: Invalid argument supplied for foreach() in …/wppizza-loop.php on line 168Log:
georgesdeli-marietta.com/wp-content/debug.logNoticed those lines reference $meta, and that’s the first error thrown at meta.php ln 469. I imagine therein lies the issue, but I’m a bit of a php noob.
14 December, 2014 at 5:30 pm #6628>I imagine therein lies the issue
yup
essentially there are no prices applied/existent to a menu item . however, there certainly should be and i can see them in the admin , so it’s kind of strangesomehow this looks like the meta data gets reset on display.
could you disable other plugins , and see if this changes things ?
14 December, 2014 at 5:41 pm #6629There they are. “jonradio Shortcodes Anywhere or Everywhere” was the root of the issue.
14 December, 2014 at 6:01 pm #6630Thanks for the help.
14 December, 2014 at 6:05 pm #6631no problem, at least we got to the root cause
must admit though I am not going to investigate why that plugin does what it does.
having said that , there are plenty of other plugins that enable shortcodes in other places - AuthorPosts
- The topic ‘Prices not displaying’ is closed to new replies.