WooCommerce product page is showing critical error

Support Forums Kampina WooCommerce product page is showing critical error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #154
    TigriWeb
    Keymaster

    Hi Imran,

    Could you create a user “administrator” and send access to the admin panel to the email – tigriweb@gmail.com?

    It would be very good and would help to solve the problem faster – access to FTP.

    Best regards,
    TigriWeb Team

    #157
    TigriWeb
    Keymaster

    Dear Imran,

    We enabled WP_DEBUG and saw the following error:

    Fatal error: Uncaught Error: Call to a member function get_id() on string in ...wp-content/plugins/my-bookable-product/my-bookable-product.php</strong> on line 135

    We also saw that this is Your plugin, so we took the liberty of changing the code of your plugin so that there was no error. On line 130 we change:

    global $product; -> $product = wc_get_product();

    Best regards,
    TigriWeb Team

    • This reply was modified 10 months ago by TigriWeb.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.