have you enabled debug and checked your debug.log ? anything in there ?
https://docs.wp-pizza.com/troubleshooting/
Below log is getting generated.
[11-Feb-2021 12:52:10 UTC] PHP Notice: Undefined index: in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:10 UTC] PHP Notice: Trying to access array offset on value of type null in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:10 UTC] PHP Notice: Undefined index: items in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.order.php on line 2343
[11-Feb-2021 12:52:13 UTC] PHP Notice: Undefined index: in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:13 UTC] PHP Notice: Trying to access array offset on value of type null in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:13 UTC] PHP Notice: Undefined index: items in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.order.php on line 2343
[11-Feb-2021 12:52:16 UTC] PHP Notice: Undefined index: in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:16 UTC] PHP Notice: Trying to access array offset on value of type null in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.sessions.php on line 277
[11-Feb-2021 12:52:16 UTC] PHP Notice: Undefined index: items in /homepages/1/d654075736/htdocs/web/wp-content/plugins/wppizza–latest/classes/class.wppizza.order.php on line 2343
Even, if we use cart page shortcode on any specific page then also it is showing ‘your cart is empty’
items array is not getting generated in a session_formatted_data.
Is it related to wppizza
option data ?
Can you please guide on why items array is not generated ?
-
This reply was modified 2 years, 1 month ago by
iqbal1486.
are your php sessions set up correctly ?
maybe post the output of wppizza->tools -> system info and we can see if there’s anything obvious (like session save path not set – the most common issue)
furthermore, as wppizza does not do dropdowns as selectors for the various sizes, i assume this is some form of customisation.
that’s fine of course, but have you got the same issue when using some default theme (twentysomething) and disabled all other plugins ?
Thank you for the following up thread.
The session and everything seems to be working great.
I found the fix by just enabling the “Repair Categories” option
https://drive.google.com/file/d/1zNw39K-NWV7ep3207keZVX2f1lbN8CI_/view?usp=sharing
I don’t know what is the issue in this, but resolve at the end of day.
Thanks