Google Analytics plugin causes white page

  • Posts: 27
  • Thank you received: 4
7 years 1 month ago #263405

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome v56

I found an error in the plg_system_hikashopanalytics plugin where the rendered HTML is gone, thus resulting in a white page. This happens in all versions of Hikashop, but they have to be on PHP 7.

It turns out that the preg_replace in the method onAfterRender(). This can be verified by checking for preg errors with this: preg_last_error(). For me, it returned an error code of 6.
According to this source , this is a new code specific to PHP 7 and the only way to fix it is to turn off the PHP variable, pcre.jit.

Please add a fix for this.

Last edit: 7 years 1 month ago by fengel.

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

  • Posts: 81509
  • Thank you received: 13064
  • MODERATOR
7 years 1 month ago #263413

Hi,

Thank you for your feedback. We've added a fix for that.
You can download the install package on our website and install it on yours and that should fix it.

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

Time to create page: 0.045 seconds
Powered by Kunena Forum