- Posts: 29
- Thank you received: 3
Deprecated: trim(): Passing null to parameter #1 ($string) of type string
- simonlindsay
-
Topic Author
- Offline
Less
More
4 months 4 weeks ago #371973
by simonlindsay
Deprecated: trim(): Passing null to parameter #1 ($string) of type string was created by simonlindsay
-- 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_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->_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
-- 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 .
Here are the lines from 480 in my php file:
480 $this->_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 or Create an account to join the conversation.
- simonlindsay
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 3
4 months 4 weeks ago #371974
by simonlindsay
Replied by simonlindsay on topic Deprecated: trim(): Passing null to parameter #1 ($string) of type string
Solved!
I had left 'debug system' on in order to try and resolve my Joomla upgrade issue.
Thanks.
Simon
I had left 'debug system' on in order to try and resolve my Joomla upgrade issue.
Thanks.
Simon
Please Log in or Create an account to join the conversation.
4 months 4 weeks ago #371976
by nicolas
Replied by nicolas on topic Deprecated: trim(): Passing null to parameter #1 ($string) of type string
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.
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
Please Log in or Create an account to join the conversation.
- simonlindsay
-
Topic Author
- Offline
Less
More
- Posts: 29
- Thank you received: 3
4 months 4 weeks ago #371986
by simonlindsay
Replied by simonlindsay on topic Deprecated: trim(): Passing null to parameter #1 ($string) of type string
Thanks Nicolas!
Please Log in or Create an account to join the conversation.
Time to create page: 0.111 seconds