Wordpress WooCommerce - product page "not found"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

http://alpacaloft.co.uk/product/knittin ... paca-yarn/
I've been asked to look at this web site.
It has many design issues, but at the moment even the product page won't work.

All plugins and Wordpress itself have been updated.

The Woocommerce Currency Converter if active, kills the whole site. I Am trying the Currency Switcher plugin.

I do wonder if the theme which was main about 3 years ago, is not longer compatible with all the latest features of WooCommerce. I think the theme is fully customized, as the name of it is the name of the domain, so no way to see what it "was"....

Is it possible that a custom theme of 3 years of age, is no longer compatible, and the is what is killing the page?

Addition: Even the categories are showing empty:
http://alpacaloft.co.uk/product-categor ... -patterns/
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

There are a few things going on here. The 'page not found' page is at least loading correctly. I'd start by trying to reset the rewrite rules. The categories page does not finish loading, so there's code in there somewhere that's erroring out. Mirror the site and DB locally and turn error reporting on to debug.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

Done.

On the Category page I get this error:

[text]Fatal error: Call to undefined function woocommerce_product_taxonomy_content() in C:\xampp\phpMyAdmin\alpacaloft\wp-content\themes\jd\woocommerce\taxonomy-product_cat.php on line 5[/text]

I get no error on the product page.
Just:
Not Found

Apologies, but the page you requested could not be found. Perhaps searching will help.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

Fatal error: Call to undefined function woocommerce_product_taxonomy_content() in C:\xampp\phpMyAdmin\alpacaloft\wp-content\themes\jd\woocommerce\taxonomy-product_cat.php on line 5
https://docs.woothemes.com/document/tem ... merce-1-6/

That function was deprecated. Could it have been dropped entirely in newer versions? Could the theme be written against an old version of WooCommerce, and then the plugin was updated, breaking the theme?
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

That is what I am wondering.
It was designed about 3 years ago, and I wonder if now, it's trashed.
A theme like "Goodchild" maybe a good option to update it with, which might bring it to life?!?!

Do you have the same gut feeling as me then: it's the theme at fault. Outdated and not working well with Woo?!
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

It really could just be that one function call. I'd check through their docs, see what function replaced it, update the theme with the new function, and see if you can get it working again. Probably far less effort that building up a new theme.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

Actually, I'd first go through the site as thoroughly as possible and check what sort of errors appear in your log afterward. If it's just this one function that needs updating, then I'd do as I suggested above. If you've got dozens of different breakages, maybe that's another story.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

Or change the theme on my local version to an old one, and see if it all works. Or at least, Preview it in another theme.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

I tried it locally. Went to Themes and Previewed it in TwentyEleven, and all I saw was
Edit Add WooCommerce Ajax Layered Nav
WooCommerce Ajax Layered Nav

Title:

Attribute:
No design, basic Times new roman.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

Is the new theme going to have all the tie-ins to WooCommerce? All the brand tailoring? Switching themes without changing the overall appearance of the site could end up being a lot of work.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

The theme is not mobile friendly, so has to be changed anyway.
Maybe though that is why it doesn't work on Twenty Twelve, because it's not an e-commerce theme.
I don't mind putting in the time to rebrand the theme, but in theory., switching it to a theme like Good Child, would that keep all the tiles and products and prices on screen. Maybe just a tweak ot the sliders etc?
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

I have tried to locally installed Nano Mag theme. But even with that, the Product page is a 404.
Why would I get a 404?

This is the HTACCESS code:

Code: Select all

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
UrL locally is: http://alpacaloft.local/product/alpaca- ... ca-chunky/
the product is there as it's in the products list.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
simonmlewis
DevNet Master
Posts: 4435
Joined: Wed Oct 08, 2008 3:39 pm
Location: United Kingdom
Contact:

Re: Wordpress WooCommerce - product page "not found"

Post by simonmlewis »

I jsut went to the Woo themes updated, click the blue login and got this mess:

[text]
Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : error parsing attribute name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ts}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<t.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : attributes construct error in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ts}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<t.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : Couldn't find end of Start Tag t.length line 4 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ts}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<t.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ;o++)r(t[o]);return r}({QJf3ax:[function(e,n){function t(e){function n(n,t,a){e& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ++)r(t[o]);return r}({QJf3ax:[function(e,n){function t(e){function n(n,t,a){e&&e in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): guments)))}}var r=e("handle"),o=e(1),i=e(2);"undefined"==typeof window.newrelic& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): uments)))}}var r=e("handle"),o=e(1),i=e(2);"undefined"==typeof window.newrelic&& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): function t(e,n,t){if(r.call(e,n))return e[n];var o=t();if(Object.defineProperty& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ,n,t){if(r.call(e,n))return e[n];var o=t();if(Object.defineProperty&&Object.keys in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): tion(e,n){function t(e,n,t){return r.listeners(e).length?r.emit(e,n,t):void(r.q& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ion(e,n){function t(e,n,t){return r.listeners(e).length?r.emit(e,n,t):void(r.q&& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): },{}],XL7HBI:[function(e,n){function t(e){var n=typeof e;return!e||"object"!==n& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ,{}],XL7HBI:[function(e,n){function t(e){var n=typeof e;return!e||"object"!==n&& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): function t(){var e=d.info=NREUM.info,n=f.getElementsByTagName("script")[0];if(e& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): var e=d.info=NREUM.info,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ar e=d.info=NREUM.info,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): M.info,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey&&e.applicationID in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): .info,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey&&e.applicationID& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): nfo,n=f.getElementsByTagName("script")[0];if(e&&e.licenseKey&&e.applicationID&&n in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): +e.agent,n.parentNode.insertBefore(r,n)}}function r(){"complete"===f.readyState& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): .agent,n.parentNode.insertBefore(r,n)}}function r(){"complete"===f.readyState&&o in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ,{}],12:[function(e,n){function t(e,n){var t=[],o="",i=0;for(o in e)r.call(e,o)& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): {}],12:[function(e,n){function t(e,n){var t=[],o="",i=0;for(o in e)r.call(e,o)&& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ports=t},{}],13:[function(e,n){function t(e,n,t){n||(n=0),"undefined"==typeof t& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : xmlParseEntityRef: no name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): orts=t},{}],13:[function(e,n){function t(e,n,t){n||(n=0),"undefined"==typeof t&& in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : error parsing attribute name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): efined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(0>o?0:o);++r<o in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : attributes construct error in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): efined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(0>o?0:o);++r<o in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 4: parser error : Couldn't find end of Start Tag o line 4 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): efined"==typeof t&&(t=e?e.length:0);for(var r=-1,o=t-n||0,i=Array(0>o?0:o);++r<o in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 91: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): _tolerance);this.load('//dev.visualwebsiteoptimizer.com/j.php?a='+account_id+'&u in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 91: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ualwebsiteoptimizer.com/j.php?a='+account_id+'&u='+encodeURIComponent(d.URL)+'&r in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 113: parser error : error parsing attribute name in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): =n;h=["on","addTag","trackPageView","trackCart","trackOrder"];for(u=0;u<h.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 113: parser error : attributes construct error in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): =n;h=["on","addTag","trackPageView","trackCart","trackOrder"];for(u=0;u<h.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 113: parser error : Couldn't find end of Start Tag h.length line 113 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): =n;h=["on","addTag","trackPageView","trackCart","trackOrder"];for(u=0;u<h.length in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 114: parser error : Opening and ending tag mismatch: body line 113 and script in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </script><!-- Start WooCommerce KISSmetrics --> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 132: parser error : Opening and ending tag mismatch: script line 109 and head in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </head> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 138: parser error : EntityRef: expecting ';' in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): });var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 392: parser error : Opening and ending tag mismatch: link line 9 and html in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </html> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 392: parser error : Premature end of data in tag link line 8 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </html> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 392: parser error : Premature end of data in tag head line 3 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </html> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): Entity: line 392: parser error : Premature end of data in tag html line 2 in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): </html> in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: SimpleXMLElement::__construct(): ^ in C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php on line 416

Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\phpMyAdmin\alpacaloft\wp-content\plugins\google-product-feed\woo-includes\class-woothemes-plugin-updater.php:416) in C:\xampp\phpMyAdmin\alpacaloft\wp-includes\pluggable.php on line 1207
[/text]
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: Wordpress WooCommerce - product page "not found"

Post by Celauran »

simonmlewis wrote:I have tried to locally installed Nano Mag theme. But even with that, the Product page is a 404.
Why would I get a 404?

This is the HTACCESS code:

Code: Select all

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
UrL locally is: http://alpacaloft.local/product/alpaca- ... ca-chunky/
the product is there as it's in the products list.
.htaccess looks fine. Have you tried saving the rewrite rules again in the admin?
Post Reply