White page of death when updating to 1.2.6

Chat rooms for mChat with optional password protection and 1-on-1 chats
Post Reply
Bgagger
Donor
Posts: 27
Joined: 28 Nov 2018, 15:57

White page of death when updating to 1.2.6

#1

Post by Bgagger » 09 Feb 2019, 14:43

after uploading the 1.2.6 rooms files to replace 1.2.5 I get the White page of death.
With the following PHP errors:

[09-Feb-2019 14:46:24 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to kasimi\mchatrooms\event\main_listener::__construct() must implement interface phpbb\template\template, instance of dmzx\mchat\core\settings given, called in /home/***********/public_html/devforum/cache/production/container_4335734bbdd20f586549a504dff5f80c.php on line 2192 and defined in /home/***********/public_html/devforum/ext/kasimi/mchatrooms/event/main_listener.php:57
Stack trace:
#0 /home/***********/public_html/devforum/cache/production/container_4335734bbdd20f586549a504dff5f80c.php(2192): kasimi\mchatrooms\event\main_listener->__construct(Object(phpbb\language\language), Object(dmzx\mchat\core\settings))
#1 /home/***********/public_html/devforum/vendor/symfony/dependency-injection/Container.php(295): phpbb_cache_container->getKasimi_Mchatrooms_Listener_MainService()
#2 /home/***********/public_html/devforum/vendor/symfony/dependency-injection/ContainerBuilder.php(446): Symfony\Component\DependencyInjection\Container->get('kasimi.mchatroo...', 2)
#3 /home/***********/public_html/ in /home/***********/public_html/devforum/ext/kasimi/mchatrooms/event/main_listener.php on line 57


I have regular prosilver set as theme.
I also made an upgrade recently of mchat from 2.1.1 to 2.1.2 which seems to have gone without a hitch.

I hope you can make heads or tails of what might be wrong, let me know if there is anything else you need to know about our phpBB setup.

User avatar
kasimi
mChat developer
Posts: 869
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: [1.2.6] mChat Rooms add-on

#2

Post by kasimi » 09 Feb 2019, 14:48

Never replace/overwrite files when updating an extension. Always completely remove the old version's files before uploading the new version:
  • Disable the extension
  • Delete the extension files
  • Upload the new extension files
  • Enable the extension
Did you try deleting your [root]/cache/production folder?

Bgagger
Donor
Posts: 27
Joined: 28 Nov 2018, 15:57

Re: White page of death when updating to 1.2.6

#3

Post by Bgagger » 09 Feb 2019, 14:55

That was sloppy of me, my bad... Do over, do it right...

Everything is fine now. the new updates looks to be working fine.

User avatar
kasimi
mChat developer
Posts: 869
Joined: 06 Oct 2016, 09:56
Location: Germany
Contact:

Re: White page of death when updating to 1.2.6

#4

Post by kasimi » 09 Feb 2019, 14:59

I'm glad it was that easy to fix. :+1:

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest