• Resolved Local

    (@fullctrl)


    Hi,

    I get an error code;

    PHP Fatal error: Uncaught Error: Call to a member function get_sku() on null in /home/XXXpublic_html/XXX/wp-content/plugins/woocommerce/templates/single-product/meta.php:28

    After disabe different plugins, it seems like Advanced Woo Search is the plugin that is causing the error. I have used the plugin on the site for 2 years, so I was very supprised, but it might have to do with the update 2 weeks ago?

    Could you help me with a solution, as we are very happy with the plugin?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Please tell me what WooCommerce plugin version you are currently using?

    Regards

    Thread Starter Local

    (@fullctrl)

    Hi,
    We are using 6.0, and are up to date.

    Plugin Author ILLID

    (@mihail-barinov)

    Sorry, I can’t reproduce this issue.

    Please tell me some additional information:

    1. What wp theme are you currently using?

    2. Do you use any page builder plugin to customize search results pages?

    3. For the AWS plugin do you choose to show product variations inside search results?

    4. Try to open the plugin settings page, find the ‘Search results page’ section and change ‘Query hook’ option.

    Thread Starter Local

    (@fullctrl)

    Hi,

    Ok, we are using a child theme based on Divi. Also, the page had Rank SEO, but it is currently disabled (since a few weeks back).
    We don’t show variations, only the main product.

    Do you want me to change query hook from default to posts_pre_query?

    Plugin Author ILLID

    (@mihail-barinov)

    Do you want me to change query hook from default to posts_pre_query?

    Yes, please try to change it to ‘posts_pre_query’ value and check will this solve the issue.

    Thread Starter Local

    (@fullctrl)

    Hi, sorry that didn’t help. I still can’t save a product after edit.

    Plugin Author ILLID

    (@mihail-barinov)

    In this case can you please email directly to [email protected]
    ? I need some additional details about that issue.

    Regards

    Thread Starter Local

    (@fullctrl)

    Hi, that’s done so we can take the issue solving to email ??

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘PHP error with Woocommerce / Divi’ is closed to new replies.