Jump to content

Your new monkeypatch stuff in 4.6.10


Go to solution Solved by Stuart Silvester,

Recommended Posts

Did you guys dogfood this with 3rd party stuff? Init.php, line 900 or so

      if( static::isThirdParty( $data['file'] ) and \IPS\Dispatcher::hasInstance() )
      {
         \IPS\Dispatcher::i()->loadedHooks[] = $data['file'];
      }

 

Fatal error: Uncaught Error: Class 'IPS\Dispatcher' not found in C:\laragon\www\dev45\init.php:900 
Stack trace: #0 C:\laragon\www\dev45\init.php(874): IPS\IPS::monkeyPatch('IPS', 'Dispatcher', '') #1 [internal function]: IPS\IPS::autoloader('IPS\\Dispatcher') #2 C:\laragon\www\dev45\init.php(999): spl_autoload_call('IPS\\Dispatcher') #3 [internal function]: IPS\IPS::exceptionHandler(Object(Error)) #4 {main} thrown in C:\laragon\www\dev45\init.php on line 900

Mayhaps it is local to my dev instance but this was a pretty hard stop on everything. 

I just hacked out that new stuff and moved on (you are only using it for log entries anyways) but you may wish to give this a close look.

Link to comment
Share on other sites

46 minutes ago, All Astronauts said:

Mayhaps it is local to my dev instance but this was a pretty hard stop on everything. 

No, the same happened to me as well, though only when attempting to update from the AdminCP:

 

Edited by Runar
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...