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

#   Deprecated: trim(): Passing null to parameter #1 ($string) of type string

##

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

Less More

- Posts: 29
- Thank you received: 3
-
-

6 months 1 week ago [\#371973](#371973) by [simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")  *[Deprecated: trim(): Passing null to parameter #1 ($string) of type string](/forum/25-install-update/910533-deprecated-trim-passing-null-to-parameter-1-string-of-type-string#371973 "-- url of the page with the problem -- :   www.3dcreations.uk  -- HikaShop version -- : 6.4.1 stable -- Joomla version -- : 5.4.5 stable -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cp3354256/public&#95;html/libraries/src/Document/HtmlDocument.php on line 480  Hello,  I am trying (unsuccessfully) to update my site from Joomla 5.4.5 to 6.1.0. There is an issue with the plugin for backward compatibility which causes the frontend and dashboard to crash. However, in my vain attempt to solve the issues with files and plugins that may cause the update to work, I have slightly broken my pictures page -   3dcreations.uk/index.php/fluid-art/fluid-art-paintings .  Here are the lines from 480 in my php file:  480 $this-&gt;&#95;custom&#91;&#93; = trim($html);  return $this; }  /&#42;&#42; &#42; Returns whether the document is set up to be output as HTML5 &#42; &#42; @return boolean true when HTML5 is used &#42; &#42; @since 3.0.0 &#42;/ In the meantime is it worth reinstalling Hikashop and will it retain all of my data?  Many thanks.  Simon")* was created by *[simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")*

-- url of the page with the problem -- : [ www.3dcreations.uk](https://www.3dcreations.uk)
-- HikaShop version -- : 6.4.1 stable
-- Joomla version -- : 5.4.5 stable
-- Browser(s) name and version -- : Edge
-- Error-message(debug-mod must be tuned on) -- : Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cp3354256/public_html/libraries/src/Document/HtmlDocument.php on line 480

Hello,

I am trying (unsuccessfully) to update my site from Joomla 5.4.5 to 6.1.0. There is an issue with the plugin for backward compatibility which causes the frontend and dashboard to crash. However, in my vain attempt to solve the issues with files and plugins that may cause the update to work, I have slightly broken my pictures page - [ 3dcreations.uk/index.php/fluid-art/fluid-art-paintings](https://3dcreations.uk/index.php/fluid-art/fluid-art-paintings).

Here are the lines from 480 in my php file:

**480** $this-&gt;_custom[] = trim($html);

return $this;
}

/**
* Returns whether the document is set up to be output as HTML5
*
* @return boolean true when HTML5 is used
*
* @since 3.0.0
*/
In the meantime is it worth reinstalling Hikashop and will it retain all of my data?

Many thanks.

Simon

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

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

Less More

- Posts: 29
- Thank you received: 3
-
-

6 months 1 week ago [\#371974](#371974) by [simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")  Replied by *[simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")* on topic *[Deprecated: trim(): Passing null to parameter #1 ($string) of type string](/forum/25-install-update/910533-deprecated-trim-passing-null-to-parameter-1-string-of-type-string#371974 "-- url of the page with the problem -- :   www.3dcreations.uk  -- HikaShop version -- : 6.4.1 stable -- Joomla version -- : 5.4.5 stable -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cp3354256/public&#95;html/libraries/src/Document/HtmlDocument.php on line 480  Hello,  I am trying (unsuccessfully) to update my site from Joomla 5.4.5 to 6.1.0. There is an issue with the plugin for backward compatibility which causes the frontend and dashboard to crash. However, in my vain attempt to solve the issues with files and plugins that may cause the update to work, I have slightly broken my pictures page -   3dcreations.uk/index.php/fluid-art/fluid-art-paintings .  Here are the lines from 480 in my php file:  480 $this-&gt;&#95;custom&#91;&#93; = trim($html);  return $this; }  /&#42;&#42; &#42; Returns whether the document is set up to be output as HTML5 &#42; &#42; @return boolean true when HTML5 is used &#42; &#42; @since 3.0.0 &#42;/ In the meantime is it worth reinstalling Hikashop and will it retain all of my data?  Many thanks.  Simon")*

Solved!

I had left 'debug system' on in order to try and resolve my Joomla upgrade issue.

Thanks.

Simon

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

6 months 1 week ago [\#371976](#371976) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Deprecated: trim(): Passing null to parameter #1 ($string) of type string](/forum/25-install-update/910533-deprecated-trim-passing-null-to-parameter-1-string-of-type-string#371976 "-- url of the page with the problem -- :   www.3dcreations.uk  -- HikaShop version -- : 6.4.1 stable -- Joomla version -- : 5.4.5 stable -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cp3354256/public&#95;html/libraries/src/Document/HtmlDocument.php on line 480  Hello,  I am trying (unsuccessfully) to update my site from Joomla 5.4.5 to 6.1.0. There is an issue with the plugin for backward compatibility which causes the frontend and dashboard to crash. However, in my vain attempt to solve the issues with files and plugins that may cause the update to work, I have slightly broken my pictures page -   3dcreations.uk/index.php/fluid-art/fluid-art-paintings .  Here are the lines from 480 in my php file:  480 $this-&gt;&#95;custom&#91;&#93; = trim($html);  return $this; }  /&#42;&#42; &#42; Returns whether the document is set up to be output as HTML5 &#42; &#42; @return boolean true when HTML5 is used &#42; &#42; @since 3.0.0 &#42;/ In the meantime is it worth reinstalling Hikashop and will it retain all of my data?  Many thanks.  Simon")*

Hi,

If you really have HikaShop 6.4.1 it's likely the error is not in HikaShop itself.
You can download it on our website again and install it on yours in order to make sure you have all the latest patchs.
You won't loose your data so no worries on that.
However, it's likely it won't change anything.

Note that if your issue is only the deprecated message being displayed, you can ignore it and just turn off the error reporting in the Joomla configuration.
Deprecated messages are for developers, not users and they don't indicate a bug but that something will change in future versions of PHP.

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

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

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

Less More

- Posts: 29
- Thank you received: 3
-
-

6 months 1 week ago [\#371986](#371986) by [simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")  Replied by *[simonlindsay](/forum/user/32377-simonlindsay "View simonlindsay's Profile")* on topic *[Deprecated: trim(): Passing null to parameter #1 ($string) of type string](/forum/25-install-update/910533-deprecated-trim-passing-null-to-parameter-1-string-of-type-string#371986 "-- url of the page with the problem -- :   www.3dcreations.uk  -- HikaShop version -- : 6.4.1 stable -- Joomla version -- : 5.4.5 stable -- Browser(s) name and version -- : Edge -- Error-message(debug-mod must be tuned on) -- : Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cp3354256/public&#95;html/libraries/src/Document/HtmlDocument.php on line 480  Hello,  I am trying (unsuccessfully) to update my site from Joomla 5.4.5 to 6.1.0. There is an issue with the plugin for backward compatibility which causes the frontend and dashboard to crash. However, in my vain attempt to solve the issues with files and plugins that may cause the update to work, I have slightly broken my pictures page -   3dcreations.uk/index.php/fluid-art/fluid-art-paintings .  Here are the lines from 480 in my php file:  480 $this-&gt;&#95;custom&#91;&#93; = trim($html);  return $this; }  /&#42;&#42; &#42; Returns whether the document is set up to be output as HTML5 &#42; &#42; @return boolean true when HTML5 is used &#42; &#42; @since 3.0.0 &#42;/ In the meantime is it worth reinstalling Hikashop and will it retain all of my data?  Many thanks.  Simon")*

Thanks Nicolas!

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

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