This object is in archive! 

Analytics module in latest public release throwing error

Archived Kevin M. 10 years ago

Hi,


I am getting the following error when I try and open Analytics


preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead

The error report emailed to me just says this in the description

Best Answer
photo

As it sais use preg_replace_callback instead, so find preg_replace() in /application/modules/system/library/Analytics/View/Abstract.php

and

/application/modules/system/library/Analytics/Model/Report/Abstract.php

and replace function.

Replies (9)

photo
1

Kevin,

We can't reproduce this problem in Corporate Package

photo
1

Stas,

Here are my versions of PHP and UserResponse


5.5.8 on WINNT runned as cgi-fcgi


2.3.9 released on October 23, 2013 12:00:00 AM GMT by USWebStyle, Inc


FYI I looked up the error and preg_replace() is deprecated as of 5.5.0

photo
1

Kevin,

We didn't test system in PHP 5.5.x, and we guarantee that it will work on PHP 5.3 and 5.4.

Compatibility with PHP 5.5 will be integrated in UseResponse 3.0 major release.

Thank you.

photo
1

Stas,


Ah, well thankfully this is the only PHP app. so I'll see about downgrading. Trying to get this up an running to do user testing so can decide our purchase plans.

photo
2

Kevin,

Yes, this would be a good temporary solution and once UR 3.0 is live for Corporate Package users only, this issue should be fixed.

We'll be here to answer any questions about your further software usage.

photo
1

Hi Stas,


I get the exact same error as OP. We are running PHP 5.5.9, and our webapp requires that we use 5.5.x, so there is no way that we can use 5.4.x. What I want to know is UR 3.x Corporate release going to work completely (analytics included) in PHP 5.5.x? Thank you!


Ken


Stas Kuzma wrote:

Kevin,

Yes, this would be a good temporary solution and once UR 3.0 is live for Corporate Package users only, this issue should be fixed.

We'll be here to answer any questions about your further software usage.

photo
1

Hello Ken,

UseResponse 3.x.x works on PHP 5.5.X without errors or problems.

photo
1

Stas Kuzma wrote:

Hello Ken,

UseResponse 3.x.x works on PHP 5.5.X without errors or problems.

Very happy to hear that. Thanks!

photo
2

As it sais use preg_replace_callback instead, so find preg_replace() in /application/modules/system/library/Analytics/View/Abstract.php

and

/application/modules/system/library/Analytics/Model/Report/Abstract.php

and replace function.

Leave a Comment
 
Attach a file