Support » Plugin: WPPizza - A Restaurant Plugin » On adding item, cart markup is not updated properly.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ollybach

    (@ollybach)

    have you enabled debug and checked your debug.log ? anything in there ?
    https://docs.wp-pizza.com/troubleshooting/

    Thread Starter iqbal1486

    (@iqbal1486)

    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

    Thread Starter iqbal1486

    (@iqbal1486)

    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 months ago by iqbal1486.
    Plugin Author ollybach

    (@ollybach)

    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)

    Plugin Author ollybach

    (@ollybach)

    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 ?

    Thread Starter iqbal1486

    (@iqbal1486)

    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.