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

#   Error when creating product

##

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9065](#9065) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  *[Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9065 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")* was created by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")*

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-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) {
$result[] = $temp;

how do i correct this error?

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

15 years 9 months ago [\#9069](#9069) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9069 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjUtZXJyb3Itd2hlbi1jcmVhdGluZy1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9075](#9075) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  Replied by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9075 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzkwNjUtZXJyb3Itd2hlbi1jcmVhdGluZy1wcm9kdWN0P3RtcGw9bWFya2Rvd24=) 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: 14326
-
-

15 years 9 months ago [\#9076](#9076) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9076 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

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.

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9077](#9077) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  Replied by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9077 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

tried all the editors, which editor do you suggest i use?

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

15 years 9 months ago [\#9080](#9080) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9080 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

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 ?

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9081](#9081) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  Replied by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9081 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

Button - Readmore
Button - Pagebreak
Button - Image
Button - Article

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

15 years 9 months ago [\#9083](#9083) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9083 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

You should find a lot of different solutions on that forum thread:
[ forum.joomla.org/viewtopic.php?p=1468168](http://forum.joomla.org/viewtopic.php?p=1468168)

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9085](#9085) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  Replied by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9085 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

slight problem, ive tried those and im using joomla 1.6

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

15 years 9 months ago [\#9086](#9086) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9086 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

You should try to replace the line:
if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) {

by:
if (method_exists($plugin,'onDisplay') &amp;&amp; $temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) {

That should definitely avoid the problem.

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

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

Less More

- Posts: 21
- Thank you received: 0
-
-

15 years 9 months ago [\#9090](#9090) by [blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")  Replied by *[blade19941](/forum/user/1105-blade19941 "View blade19941's Profile")* on topic *[Re: Error when creating product](/forum/4-how-to/9065-error-when-creating-product#9090 "Hi  Everytime i click add product and i get this error. PHP Fatal error: Call to undefined method stdClass::onDisplay() in E:&#92;web&#92;soundrsa&#92;libraries&#92;joomla&#92;html&#92;editor.php on line 287  the line says // Try to authenticate if ($temp = $plugin-&gt;onDisplay($editor, $this-&gt;asset, $this-&gt;author)) { $result&#91;&#93; = $temp;  how do i correct this error?")*

thank you so so so much, it worked, your the best

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

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