- Posts: 21
- Thank you received: 0
Error when creating product
- blade19941
-
Topic Author
- Offline
Less
More
15 years 7 months ago #9065
by blade19941
Error when creating product was created by blade19941
Hi
Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:\web\soundrsa\libraries\joomla\html\editor.php on line 287
the line says
// Try to authenticate
if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
$result[] = $temp;
how do i correct this error?
Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:\web\soundrsa\libraries\joomla\html\editor.php on line 287
the line says
// Try to authenticate
if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
$result[] = $temp;
how do i correct this error?
Please Log in or Create an account to join the conversation.
15 years 7 months ago #9069
by nicolas
Replied by nicolas on topic Re: Error when creating product
It seems that your HTML editor has a bug (HikaShop uses your HTML editor for the product description area). What editor do you use ? In HikaShop, you can switch between all the editors installed on your website by changing the option "editor" in the config of HikaShop under the main tab. If you set it to JCE, you should not have that problem anymore. Could you try that ?
Please Log in or Create an account to join the conversation.
- blade19941
-
Topic Author
- Offline
Less
More
- Posts: 21
- Thank you received: 0
15 years 7 months ago #9075
by blade19941
Replied by blade19941 on topic Re: Error when creating product
I dont have the option to set it to JCE and i have the same problem all over joomla when i try edit an article or create one.
Please Log in or Create an account to join the conversation.
15 years 7 months ago #9076
by nicolas
Replied by nicolas on topic Re: Error when creating product
What choices do you have ? Did you try with the other choices ?
Maybe you should try to install another editor ?
If the problem is all over your joomla it's normal that you also have it in HikaShop if you use that same editor.
Maybe you should try to install another editor ?
If the problem is all over your joomla it's normal that you also have it in HikaShop if you use that same editor.
Please Log in or Create an account to join the conversation.
- blade19941
-
Topic Author
- Offline
Less
More
- Posts: 21
- Thank you received: 0
15 years 7 months ago #9077
by blade19941
Replied by blade19941 on topic Re: Error when creating product
tried all the editors, which editor do you suggest i use?
Please Log in or Create an account to join the conversation.
15 years 7 months ago #9080
by nicolas
Replied by nicolas on topic Re: Error when creating product
Which ones do you have at the moment ?
Also, it seems that the problem could come from an editor plugin. Could you go in your joomla plugins manager and give a list of your plugins of the type editors-xtd ?
Also, it seems that the problem could come from an editor plugin. Could you go in your joomla plugins manager and give a list of your plugins of the type editors-xtd ?
Please Log in or Create an account to join the conversation.
- blade19941
-
Topic Author
- Offline
Less
More
- Posts: 21
- Thank you received: 0
15 years 7 months ago #9081
by blade19941
Replied by blade19941 on topic Re: Error when creating product
Button - Readmore
Button - Pagebreak
Button - Image
Button - Article
Button - Pagebreak
Button - Image
Button - Article
Please Log in or Create an account to join the conversation.
15 years 7 months ago #9083
by nicolas
Replied by nicolas on topic Re: Error when creating product
You should find a lot of different solutions on that forum thread:
forum.joomla.org/viewtopic.php?p=1468168
forum.joomla.org/viewtopic.php?p=1468168
Please Log in or Create an account to join the conversation.
- blade19941
-
Topic Author
- Offline
Less
More
- Posts: 21
- Thank you received: 0
15 years 7 months ago #9085
by blade19941
Replied by blade19941 on topic Re: Error when creating product
slight problem, ive tried those and im using joomla 1.6
Please Log in or Create an account to join the conversation.
15 years 7 months ago #9086
by nicolas
Replied by nicolas on topic Re: Error when creating product
You should try to replace the line:
if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
by:
if (method_exists($plugin,'onDisplay') && $temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
That should definitely avoid the problem.
if ($temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
by:
if (method_exists($plugin,'onDisplay') && $temp = $plugin->onDisplay($editor, $this->asset, $this->author)) {
That should definitely avoid the problem.
Please Log in or Create an account to join the conversation.
- blade19941
-
Topic Author
- Offline
Less
More
- Posts: 21
- Thank you received: 0
15 years 7 months ago #9090
by blade19941
Replied by blade19941 on topic Re: Error when creating product
thank you so so so much, it worked, your the best
Please Log in or Create an account to join the conversation.
Time to create page: 0.194 seconds