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

#   Error on orders page

##

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago [\#344372](#344372) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344372 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")* was created by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")*

-- HikaShop version -- : 4.4.4
-- Joomla version -- : 4.2.2
-- PHP version -- : 8.1

Hi
I recently updated Joomla to 4.2.2.
when I click on orders page in admin, I get the following error :
0 date(): Argument #2 ($timestamp) must be of type ?int, string given

how can I fix that ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDk1MS1lcnJvci1vbi1vcmRlcnMtcGFnZT90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

4 years 2 months ago [\#344374](#344374) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344374 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

Hi,

That's a new error.
Please activate the "debug" setting of the Joomla configuration and try again.
It should display an error message with more information.
Please provide this so that we can better understand what's going on.

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago -  4 years 2 months ago [\#344382](#344382) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344382 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

*This attachment is hidden for guests.
Please log in or register to see it.*

just enabled debug
screenshot of what i get when I click on "orders" is attached

Last edit: 4 years 2 months ago by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile").

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago [\#344397](#344397) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344397 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

Any updates ?

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago [\#344398](#344398) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344398 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

I just realized that this error refers to my php version

If I put the php version on 7.4, the error is gone

but I want to keep my 8.1
what should I do ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDk1MS1lcnJvci1vbi1vcmRlcnMtcGFnZT90bXBsPW1hcmtkb3du) 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: 86583
- Thank you received: 14324
-
-

4 years 2 months ago [\#344396](#344396) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344396 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

Hi,

Your version of HikaShop is not compatible with either Joomla 4.2 nor with PHP 8.1.
Updating your HikaShop will fix the problem as the code of the file where your error is has been changed to use hikashop_getDate() instead of the date() function several versions ago. This avoids issues with PHP 8 and also provides a better display of the date in accordance to your Joomla setup, etc.

The following user(s) said Thank You: [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")

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

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

Less More

- Posts: 240
- Thank you received: 13
-
-

4 years 2 months ago [\#344434](#344434) by [khashiz](/forum/user/61259-khashiz "View khashiz's Profile")  Replied by *[khashiz](/forum/user/61259-khashiz "View khashiz's Profile")* on topic *[Error on orders page](/forum/35-orders-management/904951-error-on-orders-page#344434 "-- HikaShop version -- : 4.4.4 -- Joomla version -- : 4.2.2 -- PHP version -- : 8.1  Hi I recently updated Joomla to 4.2.2. when I click on orders page in admin, I get the following error : 0 date(): Argument #2 ($timestamp) must be of type ?int, string given  how can I fix that ?")*

thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwNDk1MS1lcnJvci1vbi1vcmRlcnMtcGFnZT90bXBsPW1hcmtkb3du) 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.056 seconds

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