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

#   pagination error

##

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 4 months ago [\#109770](#109770) by [moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")  *[pagination error](/forum/3-bug-report/83880-pagination-error#109770 "The following error message is showing in a catagory.  Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com&#95;hikashop/helpers/pagination.php on line 171  ?")* was created by *[moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")*

The following error message is showing in a catagory.

Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com_hikashop/helpers/pagination.php on line 171

?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzg4MC1wYWdpbmF0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 4 months ago [\#109791](#109791) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[pagination error](/forum/3-bug-report/83880-pagination-error#109791 "The following error message is showing in a catagory.  Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com&#95;hikashop/helpers/pagination.php on line 171  ?")*

Hi,

Which version of HikaShop and Joomla are you using ?
HikashopPaginationHelper is an extend of the Joomla Pagination class (JPagination) which should contain by definition the "viewall" variable.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzg4MC1wYWdpbmF0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 4 months ago [\#109885](#109885) by [moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")  Replied by *[moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")* on topic *[pagination error](/forum/3-bug-report/83880-pagination-error#109885 "The following error message is showing in a catagory.  Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com&#95;hikashop/helpers/pagination.php on line 171  ?")*

Hi,

Joomla 3 and Hikashop Essential 2.1.3
[ www.aquaria-shop.nl](http://www.aquaria-shop.nl)

I just know some basics of programming. Hope you can help me out.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzg4MC1wYWdpbmF0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 4 months ago [\#109984](#109984) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[pagination error](/forum/3-bug-report/83880-pagination-error#109984 "The following error message is showing in a catagory.  Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com&#95;hikashop/helpers/pagination.php on line 171  ?")*

Hi,

As Jerome said, you should have the "viewall" variable from the Joomla JPagination class.
You can replace: Code:

$viewall = $this-&gt;viewall;

By: Code:

$viewall = (isset($this-&gt;viewall))?$this-&gt;viewall:0;

In the file "administrator/components/com_hikashop/helpers/pagination.php" l.171, in order to set a default value if the variable is not defined.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzg4MC1wYWdpbmF0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 6
- Thank you received: 0
-
-

13 years 4 months ago [\#110115](#110115) by [moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")  Replied by *[moonfish72](/forum/user/16739-moonfish72 "View moonfish72's Profile")* on topic *[pagination error](/forum/3-bug-report/83880-pagination-error#110115 "The following error message is showing in a catagory.  Notice: Undefined property: hikashopPaginationHelper::$viewall in /var/www/vhosts/aquaria-shop.nl/httpdocs/administrator/components/com&#95;hikashop/helpers/pagination.php on line 171  ?")*

Thanks for the help.

Regards,
Patrick

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC84Mzg4MC1wYWdpbmF0aW9uLWVycm9yP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) 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.053 seconds

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