All add-ons currently require PHP 7.4 or greater.

On July 4th 2024 PHP 8.2 will be the new minimum requirement for all add-ons. Expect any add-on released after that date to require 8.2 or greater. Some releases may not immediately take advantage of 8.x specific features in PHP, which means you might, be able to continue using new releases in PHP 7.4, however, if you experience an error the first thing you should do is update to PHP 8.2 then create a support ticket if the error persists.

Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Deleting a phrase group triggers exception

Status Resolved
Add-on / Version Publisher 3.10.0 build 8c6bc678
Severity
EE Version 6.4.11

Gavin @ JCOGS

Jun 14, 2023

Deleting a phrase group triggers an exception ...

<h1>Error Caught</h1><h2>Call to a member function getGroupName() on null</h2><p>user/addons/publisher/Controllers/Manage/Phrases.php:1042</p>

<h3>Stack Trace: <i>Please include when reporting this error</i></h3><ul>
													<li>#0 user/addons/publisher/Controllers/AbstractController.php(666): BoldMinded\Publisher\Controllers\Manage\Phrases->deleteGroupAction()													<li>#1 user/addons/publisher/Controllers/Manage/Phrases.php(88): BoldMinded\Publisher\Controllers\AbstractController->callControllerAction()													<li>#2 user/addons/publisher/mcp.publisher.php(142): BoldMinded\Publisher\Controllers\Manage\Phrases->render('manage/phrases')													<li>#3 user/addons/publisher/mcp.publisher.php(96): Publisher_mcp->runController()													<li>#4 [internal function]: Publisher_mcp->manage('phrases', 'delete-group')													<li>#5 ee/ExpressionEngine/Controller/Addons/Addons.php(1535): call_user_func_array(Array, Array)													<li>#6 ee/ExpressionEngine/Controller/Addons/Addons.php(812): ExpressionEngine\Controller\Addons\Addons->getModuleSettings('publisher', 'manage', Array)													<li>#7 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings('publisher', 'manage', 'phrases', 'delete-group')													<li>#8 ee/ExpressionEngine/Core/Core.php(266): call_user_func_array(Array, Array)													<li>#9 ee/ExpressionEngine/Core/Core.php(122): ExpressionEngine\Core\Core->runController(Array)													<li>#10 ee/ExpressionEngine/Boot/boot.php(161): ExpressionEngine\Core\Core->run(Object(ExpressionEngine\Core\Request))													<li>#11 public_html/admin.php(144): require_once('...')													<li>#11 public_html/admin.php(144): require_once('...')											</ul>

When you hit the delete icon in the Phrases Group list you get the pop up dialog asking to confirm the delete, if you hit “Confirm and Delete” button you get the exception.
php 8.0

#1

BoldMinded (Brian)

I just created a new phrase group and deleted it fine locally. This happens every time you delete a phrase group or just once? What happens if you make a new group and then delete it?

#2

BoldMinded (Brian)

Ok, I was able to replicate it but only by clicking the submit button in the modal twice very fast.

#3

BoldMinded (Brian)

I’ll have this fixed in the next release.

Login to reply