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

#   error php

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

4 years 1 week ago [\#346670](#346670) by [Nasilowski](/forum/user/70193-nasilowski "View Nasilowski's Profile")  *[error php](/forum/52-hikaauction/905366-error-php#346670 "-- url of the page with the problem -- :   www.pro-ex.com.na  -- Joomla version -- : 3.5 -- PHP version -- : 8.1 -- Error-message(debug-mod must be tuned on) -- : line 384 deprecated implicit conversion from float 25.5 on auction site with photos.. This shows and then goes away then shows...  Error on site with php 8.1")* was created by *[Nasilowski](/forum/user/70193-nasilowski "View Nasilowski's Profile")*

-- url of the page with the problem -- : [ www.pro-ex.com.na](http://www.pro-ex.com.na)
-- Joomla version -- : 3.5
-- PHP version -- : 8.1
-- Error-message(debug-mod must be tuned on) -- : line 384 deprecated implicit conversion from float 25.5 on auction site with photos.. This shows and then goes away then shows...

Error on site with php 8.1

- [ ![675fa1b6-2eff-416f-97f7-ee25b6f0c848.jpg](/forum/attachment/55926) ](/forum/attachment/55926 "...25b6f0c848.jpg") [ ](/forum/attachment/55926?download=1 "...25b6f0c848.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzkwNTM2Ni1lcnJvci1waHA/dG1wbD1tYXJrZG93bg==) 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: 86584
- Thank you received: 14325
-
-

4 years 1 week ago [\#346678](#346678) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[error php](/forum/52-hikaauction/905366-error-php#346678 "-- url of the page with the problem -- :   www.pro-ex.com.na  -- Joomla version -- : 3.5 -- PHP version -- : 8.1 -- Error-message(debug-mod must be tuned on) -- : line 384 deprecated implicit conversion from float 25.5 on auction site with photos.. This shows and then goes away then shows...  Error on site with php 8.1")*

Hi,

Change the code: Code:

if(function_exists('imagecopyresampled')) { imagecopyresampled($ret['res'], $source['res'], $x, $y, 0, 0, $sx, $sy, $origin_width, $origin_height); } else { imagecopyresized($ret['res'], $source['res'], $x, $y, 0, 0, $sx, $sy, $origin_width, $origin_height); }

to: Code:

if(function_exists('imagecopyresampled')) { imagecopyresampled($ret['res'], $source['res'], (int)$x, (int)$y, 0, 0, (int)$sx, (int)$sy, (int)$origin_width, (int)$origin_height); } else { imagecopyresized($ret['res'], $source['res'], (int)$x, (int)$y, 0, 0, (int)$sx, (int)$sy, (int)$origin_width, (int)$origin_height); }

in the file administrator/components/com_hikashop/helpers/image.php and it will remove these messages.
We'll add the change on our end too for the next version of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUyLWhpa2FhdWN0aW9uLzkwNTM2Ni1lcnJvci1waHA/dG1wbD1tYXJrZG93bg==) 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?

Moderators: [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")

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

Time to create page: 0.052 seconds

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