Extension, Module

Archived
Forum
(read-only)

Detour Pro

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4, ExpressionEngine 5, ExpressionEngine 6

Back to this add-on's main page
View Other Add-ons From Tom Jaeger

     

After Server (and PHP) upgrade getting “undefined index” errors and redirects not working

Support Request

al3700
al3700

Have tried wrapping some of the variables in the save_detour_advanced() function in mcp.detour_pro.php w/ if(isset($start_date)) { statements but that causes other problems.

Running EE 2.11.1, DetourPro 2.0 and PHP Version 5.6.20

Is there a new version we can use?

Thank you.

EEHarbor
# 1
Developer
EEHarbor

Thanks for posting this!

We’re looking into it currently! However if you could drop us a quick email help [at] eeharbor.com that would be awesome!

.carolinecblaker.
# 2
.carolinecblaker.

Hi team,

I don’t know if you’re still working on this but my Detour Pro v 1.3.2 just broke with an upgrade to php 5.5.3.4.

These errors are displayed on the Detour Pro CP console page (without styles)

Strict Standards: Redefining already defined constructor for class Detour_pro_ext in /home/dir/path/expressionengine/third_party/detour_pro/ext.detour_pro.php on line 18

Fatal error: Call to undefined method Cp::set_variable() in /home/dir/path/expressionengine/third_party/detour_pro/mcp.detour_pro.php on line 99

This error is present on a working CP page and on the front-end:

Strict Standards: Redefining already defined constructor for class Detour_pro_ext in /home/dir/path/expressionengine/third_party/detour_pro/ext.detour_pro.php on line 18


Have you released a version that covers this for EE 2.10?

PS: bonus points if your fix also works on GWCode categories. :D

.carolinecblaker.
# 3
.carolinecblaker.

I’ve solved my problems.

https://github.com/clearbold/audit-pro/issues/4

and I removed the first constructor.

so given `pi.example.com`, look for:


```function Example()
```
and
```function __construct()
```

Get rid of the first one

- Derek Jones

Hope this helps someone

EEHarbor
# 4
Developer
EEHarbor

Hi Caroline,

Thanks for posting this.  The 2.0 version should do the trick as well!

:)