Cannot Delete/Purge settings

If you've found a bug in the template or extensions let us know in here so we can fix it as soon as possible.
4 posts Page 1 of 1
Contributors
Post
Cannot Delete/Purge settings
anubite
#126
Hi,

I am running board version 3.3.4RC1 and have had some bugs switching to this awesome snap template.

Background info running Board 3.3.4RC1 and PHP8 on Ubuntu server. Had no issues with PHPBB and these types of errors until installing Splicker Snap. Also, I can purge all add-on settings just not the splicker one's funny enough.

Please see log - I removed my server and I.P from log. I apologise in advance if this is my end I am not a programmer.
21/04/29 14:29:59 [error] 3389837#3389837: *2017 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/html/phpbb/phpbb/db/migrator.php:553
Stack trace:
#0 /var/www/html/phpbb/phpbb/db/migrator.php(553): array_merge()
#1 /var/www/html/phpbb/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#2 /var/www/html/phpbb/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#3 /var/www/html/phpbb/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#4 /var/www/html/phpbb/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#5 /var/www/html/phpbb/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#6 /var/www/html/phpbb/includes/functions_module.php(676): acp_extensions->main()
#7 /var/www/html/phpbb/adm/index.php(81): p_master->load_active()
#8 {main}
thrown in /var/www/html/phpbb/phpbb/db/migrator.php on line 553" while reading response header from upstream, client: , server: www., request: "POST /adm/index.php?i=acp_extensions&sid=b8790a54ad62e05af4baf0034c8bbe5d&mode=main&action=delete_data&ext_name=splicker%2Fsnaptopicsbadge&hash=5bec79e6 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.", referrer: "https://www./"
2021/04/29 14:30:45 [error] 3389837#3389837: *1999 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/html/phpbb/phpbb/db/migrator.php:553
Stack trace:
#0 /var/www/html/phpbb/phpbb/db/migrator.php(553): array_merge()
#1 /var/www/html/phpbb/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#2 /var/www/html/phpbb/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#3 /var/www/html/phpbb/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#4 /var/www/html/phpbb/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#5 /var/www/html/phpbb/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#6 /var/www/html/phpbb/includes/functions_module.php(676): acp_extensions->main()
#7 /var/www/html/phpbb/adm/index.php(81): p_master->load_active()
#8 {main}
thrown in /var/www/html/phpbb/phpbb/db/migrator.php on line 553" while reading response header from upstream, client: , server: www., request: "POST /adm/index.php?i=acp_extensions&sid=b8790a54ad62e05af4baf0034c8bbe5d&mode=main&action=delete_data&ext_name=splicker%2Fsnaptopicsbadge&hash=5bec79e6 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.", referrer: "https://www./"
2021/04/29 14:33:46 [error] 3389837#3389837: *2283 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/html/phpbb/phpbb/db/migrator.php:553
Stack trace:
#0 /var/www/html/phpbb/phpbb/db/migrator.php(553): array_merge()
#1 /var/www/html/phpbb/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#2 /var/www/html/phpbb/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#3 /var/www/html/phpbb/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#4 /var/www/html/phpbb/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#5 /var/www/html/phpbb/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#6 /var/www/html/phpbb/includes/functions_module.php(676): acp_extensions->main()
#7 /var/www/html/phpbb/adm/index.php(81): p_master->load_active()
#8 {main}
thrown in /var/www/html/phpbb/phpbb/db/migrator.php on line 553" while reading response header from upstream, client: , server: www., request: "POST /adm/index.php?i=acp_extensions&sid=b8790a54ad62e05af4baf0034c8bbe5d&mode=main&action=delete_data&ext_name=splicker%2Fsnaptopicsbadge&hash=5bec79e6 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.", referrer: "https://www./"
2021/04/29 14:33:52 [error] 3389837#3389837: *2288 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #2 ($args) must be of type array, string given in /var/www/html/phpbb/phpbb/db/migrator.php:714
Stack trace:
#0 /var/www/html/phpbb/phpbb/db/migrator.php(714): call_user_func_array()
#1 /var/www/html/phpbb/phpbb/db/migrator.php(661): phpbb\db\migrator->run_step()
#2 /var/www/html/phpbb/phpbb/db/migrator.php(554): phpbb\db\migrator->process_data_step()
#3 /var/www/html/phpbb/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#4 /var/www/html/phpbb/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#5 /var/www/html/phpbb/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#6 /var/www/html/phpbb/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#7 /var/www/html/phpbb/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#8 /var/www/html/phpbb/includes/functions_module.php(676): acp_extensions->main()
#9 /var/www/html/phpbb/adm/index.php(81): p_master->lo" while reading response header from upstream, client: , server: www., request: "POST /adm/index.php?i=acp_extensions&sid=b8790a54ad62e05af4baf0034c8bbe5d&mode=main&action=delete_data&ext_name=splicker%2Fsnapnews&hash=0845ad1d HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.", referrer: "https://www./"
2021/04/29 14:37:14 [error] 3389837#3389837: *2341 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #2 ($args) must be of type array, string given in /var/www/html/phpbb/phpbb/db/migrator.php:714
Stack trace:
#0 /var/www/html/phpbb/phpbb/db/migrator.php(714): call_user_func_array()
#1 /var/www/html/phpbb/phpbb/db/migrator.php(661): phpbb\db\migrator->run_step()
#2 /var/www/html/phpbb/phpbb/db/migrator.php(554): phpbb\db\migrator->process_data_step()
#3 /var/www/html/phpbb/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#4 /var/www/html/phpbb/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#5 /var/www/html/phpbb/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#6 /var/www/html/phpbb/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#7 /var/www/html/phpbb/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#8 /var/www/html/phpbb/includes/functions_module.php(676): acp_extensions->main()
#9 /var/www/html/phpbb/adm/index.php(81): p_master->lo" while reading response header from upstream, client: , server: www., request: "POST /adm/index.php?i=acp_extensions&sid=b8790a54ad62e05af4baf0034c8bbe5d&mode=main&action=delete_data&ext_name=splicker%2Fsplickerlikes&hash=0bf9a1ce HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www.", referrer: "https://www./"
#128
I'll take a look using the RC build and PHP8 and if I can replicate the issue. The errors seem to be issues with three of the extensions.

Will get back to you when I've had a look. Thanks for the report.
Post
Re: Cannot Delete/Purge settings
anubite
#155
Hi Splicker,

I am still having issues with upgraded board 3.3.4 and PHP 8.0.5.

Mainly just the likes and topic solved is broken. Other issues have seemed to gone away, one was I did not use an updated version of splicker haha!

Another thing going back on my issues with likes & topic solved I noticed the website says 1.0.1, but the version on forums is 1.0.9 so not sure what version I got compared to others.

Thanks :)
2021/05/06 14:03:38 [notice] 5750#5750: ModSecurity-nginx v1.0.1 (rules loaded inline/local/remote: 0/1058/0)
2021/05/06 14:54:56 [error] 5763#5763: *410 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /var/www/html/website/phpbb/db/migrator.php:553
Stack trace:
#0 /var/www/html/website/phpbb/db/migrator.php(553): array_merge()
#1 /var/www/html/website/phpbb/db/migrator.php(517): phpbb\db\migrator->try_revert()
#2 /var/www/html/website/phpbb/db/migrator.php(488): phpbb\db\migrator->revert_do()
#3 /var/www/html/website/phpbb/extension/base.php(108): phpbb\db\migrator->revert()
#4 /var/www/html/website/phpbb/extension/manager.php(341): phpbb\extension\base->purge_step()
#5 /var/www/html/website/includes/acp/acp_extensions.php(305): phpbb\extension\manager->purge_step()
#6 /var/www/html/website/includes/functions_module.php(676): acp_extensions->main()
#7 /var/www/html/website/adm/index.php(81): p_master->load_active()
#8 {main}
thrown in /var/www/html/website/phpbb/db/migrator.php on line 553" while reading response header from upstream, client: , server: www..xyz, request: "POST /adm/index.php?i=acp_extensions&sid=e22c1a2ac163d29600c6a2285cc6c699&mode=main&action=delete_data&ext_name=splicker%2Fsnapsolved&hash=55807534 HTTP/1.1", upstream: "fastcgi://unix:/run/php/php8.0-fpm.sock:", host: "www..xyz", referrer: "https://.xyz/adm/index.php?i=acp_extensions&sid=e22c1a2ac163d29600c6a2285cc6c699&mode=main&action=delete_data_pre&ext_name=splicker%2Fsnapsolved"
#156
Thu May 06, 2021 6:52 amanubite wrote:
Hi Splicker,

I am still having issues with upgraded board 3.3.4 and PHP 8.0.5.
Hi,

I am aware of this problem and I'm looking in to it. It appears to be a PHP 8 error and as PHP 8 is new it is bound to cause some issues.

It seems to be mainly an issue with deleting extensions data so I'd advise against selecting the "Delete Data" option for the time being, leaving the data when deactivating an extension won't do any harm to your site and hopefully I'll have some updated files soon that fixes the errors.

Thanks :)
4 posts Page 1 of 1