• Resolved sip24

    (@sip24)


    Hello,
    I get batches of these messages in my error_log file in the wp-admin folder.
    The site is still under development and the cart is not used.

    PHP Warning:  Undefined property: Objectiv\Plugins\Checkout\Admin\Pages\OrderBumpsAdminFree::$post_type_slug in /…/…/…/wp-content/plugins/checkoutwc-lite/includes/Admin/Pages/OrderBumpsAdminFree.php on line 47
    PHP Warning:  Undefined property: Objectiv\Plugins\Checkout\Admin\Pages\OrderBumpsAdminFree::$post_type_slug in /…/…/…/wp-content/plugins/checkoutwc-lite/includes/Admin/Pages/OrderBumpsAdminFree.php on line 45

    The batches contain different numbers of messages, from two to several dozen. I can’t figure out when they appear and what actions on the site generate them. The first message prevails. What is the cause and how can I fix it?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Simon

    (@simonskyverge)

    Hey @sip24 ,

    Simon here from the CheckoutWC engineering team, I’m happy to help. I took a look at the code and can see that it might throw that error if that property is not set.

    I’ve added a tweak that should avoid this error logging in the future, though for now it shouldn’t effect the behavior of the plugin. The fix will be included in our next release, thanks so much for letting us know!

    Is there anything else I can help you with today?

    Cheers,

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning $post_type_slug in’ is closed to new replies.