Hikashop plugin 'Hikashop product tag insertion plugin' is incompatible with JCE

  • Posts: 22
  • Thank you received: 1
  • Hikashop Multisite
2 weeks 6 days ago #372711

-- HikaShop version -- : 6.5.1
-- Joomla version -- : 3.10.12
-- PHP version -- : 7.4.33
-- Browser(s) name and version -- : Firefox 149.0.2
-- Error-message(debug-mod must be tuned on) -- : Call to undefined method stdClass::get()

The hikashop plugin 'Hikashop product tag insertion plugin' checks on line 70 of file 'hikashopproduct.php' '

if(version_compare($jversion,'5.4.0','>=')) {
				$button = new Joomla\CMS\Editor\Button\Button(
//rest of function
} else {
				$button = new \stdClass();

This creates a crash every time JCE is attempting to load the plugin since the stcClass object does not have ->set and ->get as direct functions. Other editors-xtd plugins use
JObject
instead of stcClass since in the JObject class the ->get and ->set functions loaded and available (through the LegacyPropertyManagementTrait).

Please Log in or Create an account to join the conversation.

  • Posts: 86027
  • Thank you received: 14172
  • MODERATOR
2 weeks 6 days ago #372717

Hi,

Thank you for your feedback. We've added a patch for this on our website. Download the install package of HikaShop on our website and install it on yours and you'll get the patch.

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum