Hi @makobaby01,
Looking at the code of the FaceBook for WooCommerce plugin below the HTTP_REFERER is part of the get_current_url() function. It seems that your site is possibly having an issue retrieving the HTTP_REFERER URL from your web browser.
https://github.com/facebookincubator/facebook-for-woocommerce/blob/1bde61409078a9da73ebc072479b3e3fa01644a8/includes/Events/Event.php#L207
The plugin however should default to the home URL of your site and function as expected.
What web browser are you using to load your site and do you see the same error message when testing in different web browsers?
It happens to me using chrome and the edge, it used to vary and I always got these messages, but now I want to solve
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hey @makobaby01
Do you feel this is causing an error at all?
When you mention debugging, can you clarify what exactly this is? I’d like to see if I can replicate this.
Thanks,
I believe it is, it happens whenever I browse product pages, I don’t know exactly that, but when I add the product to the cart with it enabled, it takes slightly longer, but I always leave it enabled anyway, to synchronize my products.
I enabled debug.log and leave it hidden on the page, then it stores everything in debug.log in wp-content, only there is it shown, on the site itself, this message does not return when I enable it to be shown on the sites.
Hey @makobaby01,
I’ve performed some cross-testing for us today on several of my sites which have the latest versions of WordPress, WooCommerce, FaceBook for WooCommerce and our free Storefront theme as the only enabled software. When doing so I’ve not been able to replicate the behaviour which you describe with regards to the error message you’re receiving on products.
I also could not find any instances of the error message in my test installations debug logs either.
I will create a test site and try to reproduce the error, return later.
Hi @makobaby01, we never heard from you here and I see you have newer issues so I’m going to go ahead and close this thread.