× Here you can get community support related to ReDJ.

PHP 7 Bug

  • mikefarmer80
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #5214 by mikefarmer80
PHP 7 Bug was created by mikefarmer80
I just bought the enterprise edition of ReDJ having read it should work with php 7.
Unfortunately, I got this error message and it's not working at all on Joomla 3.6.0:

Parameter 1 to plgSystemReDJ::customError() expected to be a reference, value given in /homepages/xxx/libraries/legacy/error/error.php on line 781

Line 781 is: return call_user_func($options, $error);

Any ideas? :(

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

More
8 years 3 months ago #5215 by admin
Replied by admin on topic PHP 7 Bug
Hi,
this is a returning problem, but is not related to PHP7. It is due to a legacy error management in old Joomla version.
I am going to fix this definitively. I will be back asap.

Kind regards,
Luigi

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

  • mikefarmer80
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #5216 by mikefarmer80
Replied by mikefarmer80 on topic PHP 7 Bug
Mhmm, strange, ReDJ is working fine on Joomla 3.6.0 with php 5.6.

Hopefully, you will get it to work soon.

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

More
8 years 3 months ago #5217 by admin
Replied by admin on topic PHP 7 Bug
Sorry,
I am not ableto replciate the issue but I think I got the problem. Could you, pls, edit the plugin\system\redj.php file and change line 628:
static function customError(&$error)

With this:
static function customError(JException &$error)

Let me know if it works so I can apply to master code.

Kind regards,
Luigi

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

  • mikefarmer80
  • Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 3 months ago #5218 by mikefarmer80
Replied by mikefarmer80 on topic PHP 7 Bug
Unfortunately, the changed line has no effect on the error message:-(.

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

More
8 years 3 months ago #5219 by admin
Replied by admin on topic PHP 7 Bug
Can you help me to replicate the issue?

What URL you are calling? Is there a rule? Which are ReDJ plugin settings?

Please, send me an email at info(at)selfget.com.

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

Time to create page: 0.210 seconds