[Skip to main content](#vessel-content)

#   Broken links since update to 2.6.2

##

- **[bettston](/forum/user/30280-bettston "View bettston's Profile")**
- [![bettston's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30280-bettston "View bettston's Profile") Topic Author
- [ Offline](/forum/user/30280-bettston)

Less More

- Posts: 93
- Thank you received: 3
-
-

10 years 7 months ago -  10 years 7 months ago [\#235970](#235970) by [bettston](/forum/user/30280-bettston "View bettston's Profile")  *[Broken links since update to 2.6.2](/forum/25-install-update/883736-broken-links-since-update-to-2-6-2#235970 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome  We use google webmaster tools and since updating I've been sent a lot of emails regarding crawl errors. Since the update to 2.6.2 some links seem to of broken? For example if you go to then you get nothing. If you look at the source code for this page you get two lines of hikashop layout and that's it. What's causing this? It's happening to a large quantity of our links. Another Example is  EDIT: Also after upgrading we had to remove ALL canonical URLs using mass action due to the search on our site appending /component/search on the end of every product link giving a 404 error.  Thanks Jamie")* was created by *[bettston](/forum/user/30280-bettston "View bettston's Profile")*

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome

We use google webmaster tools and since updating I've been sent a lot of emails regarding crawl errors. Since the update to 2.6.2 some links seem to of broken? For example if you go to [ Link to a Product](https://www.chs-ironmongerydirect.co.uk/index.php/component/hikashop/product/6196-mila-pro-style-letter-box-carlise-brass-ml110921) then you get nothing. If you look at the source code for this page you get two lines of hikashop layout and that's it. What's causing this? It's happening to a large quantity of our links. Another Example is [ Link to another Product](https://www.chs-ironmongerydirect.co.uk/index.php?option=com_hikashop&ctrl=product&task=show&cid=10780&name=black-antique-laughing-cat-door-knocker-kirkpatrick-2618)

EDIT: Also after upgrading we had to remove ALL canonical URLs using mass action due to the search on our site appending /component/search on the end of every product link giving a 404 error.

Thanks
Jamie

Last edit: 10 years 7 months ago by [bettston](/forum/user/30280-bettston "View bettston's Profile"). Reason: Added detail about canonical urls

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MzczNi1icm9rZW4tbGlua3Mtc2luY2UtdXBkYXRlLXRvLTItNi0yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 7 months ago [\#235995](#235995) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Broken links since update to 2.6.2](/forum/25-install-update/883736-broken-links-since-update-to-2-6-2#235995 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome  We use google webmaster tools and since updating I've been sent a lot of emails regarding crawl errors. Since the update to 2.6.2 some links seem to of broken? For example if you go to then you get nothing. If you look at the source code for this page you get two lines of hikashop layout and that's it. What's causing this? It's happening to a large quantity of our links. Another Example is  EDIT: Also after upgrading we had to remove ALL canonical URLs using mass action due to the search on our site appending /component/search on the end of every product link giving a 404 error.  Thanks Jamie")*

Hi,

1. For both links your provided I just see a blank page. Turn on the "error reporting" of the Joomla configuration and when you access these links, you'll get an error message which will also us to better understand what's going on.

2. That's something we had fixed in a previous version of HikaShop so I'm suprised you had to remove the canonical URLs. Did you add them again ? Or do you let the system add them ? O you left them empty ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MzczNi1icm9rZW4tbGlua3Mtc2luY2UtdXBkYXRlLXRvLTItNi0yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[bettston](/forum/user/30280-bettston "View bettston's Profile")**
- [![bettston's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30280-bettston "View bettston's Profile") Topic Author
- [ Offline](/forum/user/30280-bettston)

Less More

- Posts: 93
- Thank you received: 3
-
-

10 years 7 months ago [\#236037](#236037) by [bettston](/forum/user/30280-bettston "View bettston's Profile")  Replied by *[bettston](/forum/user/30280-bettston "View bettston's Profile")* on topic *[Broken links since update to 2.6.2](/forum/25-install-update/883736-broken-links-since-update-to-2-6-2#236037 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome  We use google webmaster tools and since updating I've been sent a lot of emails regarding crawl errors. Since the update to 2.6.2 some links seem to of broken? For example if you go to then you get nothing. If you look at the source code for this page you get two lines of hikashop layout and that's it. What's causing this? It's happening to a large quantity of our links. Another Example is  EDIT: Also after upgrading we had to remove ALL canonical URLs using mass action due to the search on our site appending /component/search on the end of every product link giving a 404 error.  Thanks Jamie")*

Morning,

With the error reporting turned on I get "Notice: Trying to get property of non-object in /home/sites/chs-ironmongerydirect.co.uk/public_html/components/com_hikashop/views/category/tmpl/listing_list.php on line 386 Fatal error: Call to a member function get() on a non-object in /home/sites/chs-ironmongerydirect.co.uk/public_html/components/com_hikashop/views/category/tmpl/listing_list.php on line 386"

and regarding canonical URLs we removed them and set the setting to No, generate the urls although looking at products they have been regenerated automatically.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MzczNi1icm9rZW4tbGlua3Mtc2luY2UtdXBkYXRlLXRvLTItNi0yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

10 years 7 months ago [\#236064](#236064) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Broken links since update to 2.6.2](/forum/25-install-update/883736-broken-links-since-update-to-2-6-2#236064 "-- HikaShop version -- : 2.6.2 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.4.45 -- Browser(s) name and version -- : Chrome  We use google webmaster tools and since updating I've been sent a lot of emails regarding crawl errors. Since the update to 2.6.2 some links seem to of broken? For example if you go to then you get nothing. If you look at the source code for this page you get two lines of hikashop layout and that's it. What's causing this? It's happening to a large quantity of our links. Another Example is  EDIT: Also after upgrading we had to remove ALL canonical URLs using mass action due to the search on our site appending /component/search on the end of every product link giving a 404 error.  Thanks Jamie")*

Hi,

1. Change the code: Code:

$hkParams = $menuItem-&gt;params-&gt;get('hk_product',false); if(isset($hkParams-&gt;category)) $cid = $hkParams-&gt;category;

to: Code:

if(is_object($menuItem)){ $hkParams = $menuItem-&gt;params-&gt;get('hk_product',false); if(isset($hkParams-&gt;category)) $cid = $hkParams-&gt;category; }

in the file "listing_list" of the view "category" via the menu Display&gt;views and that will fix the problem. We'll add a patch on that on our end.

2. That's really weird as the "no, generate the urls" shouldn't generate them automatically.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MzczNi1icm9rZW4tbGlua3Mtc2luY2UtdXBkYXRlLXRvLTItNi0yP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.045 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
