Ramsesx Posted September 22, 2019 Share Posted September 22, 2019 Without changing anything on my site, today I got a HTTP ERROR 500 on pages like discover and user profiles. If I switch to default style all is working fine. What can cause my custom style to f*** up suddenly without changing any thing on it? The only error I can found on my system log what could be related to this style issue was: Error: Class '\IPS\Theme\hook809' not found (0) #0 /home/www/doc/mydomain.de/www/applications/forums/modules/front/forums/forums.php(87): IPS\_Theme->getTemplate('forums', 'forums', 'front') #1 /home/www/doc/mydomain.de/www/init.php(460) : eval()'d code(18): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum)) #2 /home/www/doc/mydomain.de/www/applications/forums/modules/front/forums/forums.php(36): IPS\forums\modules\front\forums\forumblocks_hook_forumsmodule->_forum(Object(IPS\forums\Forum)) #3 /home/www/doc/mydomain.de/www/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\_forums->manage() #4 /home/www/doc/mydomain.de/www/system/Dispatcher/Dispatcher.php(146): IPS\Dispatcher\_Controller->execute() #5 /home/www/doc/mydomain.de/www/index.php(13): IPS\_Dispatcher->run() #6 {main} Thanks. Link to comment Share on other sites More sharing options...
Ramsesx Posted September 22, 2019 Author Share Posted September 22, 2019 Could fix this by duplicating my custom style and activating it as new default and deactivating the faulty style. But it would be interesting to know what caused this issue. Link to comment Share on other sites More sharing options...
Daniel F Posted September 22, 2019 Share Posted September 22, 2019 That’s an issue with a theme hook which seems to be still used because of the cache . Did you recently uninstall any apps or plugins? Are you using the „save templates to filesystem“ setting? Link to comment Share on other sites More sharing options...
Ramsesx Posted September 22, 2019 Author Share Posted September 22, 2019 4 hours ago, Daniel F said: Did you recently uninstall any apps or plugins? No, not I am aware of. 4 hours ago, Daniel F said: Are you using the „save templates to filesystem“ setting? Do you mean this? define( 'STORE_METHOD', 'FileSystem' ); Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 22, 2019 Share Posted September 22, 2019 The best you can is browse the core_hooks table and see which app/plugin it is tied. 4 hours ago, Ramsesx said: Error: Class '\IPS\Theme\hook809' not found (0) Query on SQL Toolbox or PHPMyAdmin: select * from core_hooks where id = 809; You will see columns app and plugin in the results. If it is a plugin, then see the ID that shows up there and run another query: select * from core_plugins where plugin_id = XXX; where XXX is the plugin ID from the first query. Link to comment Share on other sites More sharing options...
Ramsesx Posted September 22, 2019 Author Share Posted September 22, 2019 8 minutes ago, Adriano Faria said: Query on SQL Toolbox or PHPMyAdmin: Thanks Adriano, it throws out the Ignore Topics plugin. Do you think this was causing the style issues? Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 22, 2019 Share Posted September 22, 2019 5 hours ago, Ramsesx said: If I switch to default style all is working fine. I would need to take a look in the plugin (tomorrow) to see which templates it uses. Probably they’re missing somehow in your custom theme, as it works in default. Download the plugin and reinstall it (upload new version), without uninstall it, otherwise you will lose your data. Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 22, 2019 Share Posted September 22, 2019 23 minutes ago, Ramsesx said: Thanks Adriano, it throws out the Ignore Topics plugin. Do you think this was causing the style issues? Btw, your latest download of this resource is from November, which means you’re using version for IPS 4.3. Update your install if you’re outdated. Link to comment Share on other sites More sharing options...
Ramsesx Posted September 22, 2019 Author Share Posted September 22, 2019 6 minutes ago, Adriano Faria said: , which means you’re using version for IPS 4.3. I'm still running v4.3.6, but it's save to upgrade to the latest version? Link to comment Share on other sites More sharing options...
Adriano Faria Posted September 22, 2019 Share Posted September 22, 2019 No. As stated in the upgrade version, 2.2.0 is IPS4.4 only. Thought you were on 4.4. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.