3.2.0 Rhea compatibility - Digests

3.2.0 Rhea compatibility

by MarkDHamill » Sun Jan 08, 2017 2:50 am

I did an initial test of the digests extension against phpBB 3.2.0 Rhea. I had to change ext.php and composer.json to get it to install. I found one issue already: an error running the manual mailer in the ACP. Apparently some changes to the TWIG library affect the extension. I get:
Catchable fatal error: Argument 3 passed to phpbb\template\twig\twig::__construct() must be an instance of phpbb\template\context, instance of phpbb\user given, called in /Applications/XAMPP/xamppfiles/htdocs/3_2_0/ext/phpbbservices/digests/acp/main_module.php on line 1503 and defined in /Applications/XAMPP/xamppfiles/htdocs/3_2_0/phpbb/template/twig/twig.php on line 88
Otherwise the ACP and UCP interfaces come up fine. It's likely all the issues are in acp/main_module.php and cron/task/digests.php because this is where the templating system is called.

There are probably a lot of other issues because the templating system is heavily used in creating digests. So it will take awhile to find and fix all the issues.

On the plus side this will require a new version 3.0.8 so I can submit this to the extensions team instead of 3.0.7 for approval, a good excuse for dragging my feet so far.
Get the latest versions of my Digests and Smartfeed extensions.
Need phpBB services or a phpBB consultant? I offer most phpBB services.
User avatar
Registered User
Posts: 3727
Joined: Fri Aug 02, 2002 12:36 am
Location: Florence, MA USA