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: Phrases of the languages

Status Resolved
Add-on / Version Publisher 3.10.2.
Severity
EE Version 7.3.14

Verve -Webdesign und Grafik

Oct 31, 2023

When I want to edit these phrases I see this error

Error Caught
Call to a member function getPhraseValue() on null
user/addons/publisher/Controllers/Manage/Phrases.php:403

Stack Trace: Please include when reporting this error
#0 user/addons/publisher/Controllers/AbstractController.php(666): BoldMinded\Publisher\Controllers\Manage\Phrases->translationsAction()
#1 user/addons/publisher/Controllers/Manage/Phrases.php(88): BoldMinded\Publisher\Controllers\AbstractController->callControllerAction()
#2 user/addons/publisher/mcp.publisher.php(142): BoldMinded\Publisher\Controllers\Manage\Phrases->render()
#3 user/addons/publisher/mcp.publisher.php(96): Publisher_mcp->runController()
#4 [internal function]: Publisher_mcp->manage()
#5 ee/ExpressionEngine/Controller/Addons/Addons.php(1590): call_user_func_array()
#6 ee/ExpressionEngine/Controller/Addons/Addons.php(866): ExpressionEngine\Controller\Addons\Addons->getModuleSettings()
#7 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings()
#8 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array()
#9 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController()
#10 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run()
#11 admin.php(139): require_once('...')
#11 admin.php(139): require_once('...')

 

#1

BoldMinded (Brian)

Do you have more than 1 language created for your site? Or is English the only one?

#2

Verve -Webdesign und Grafik

I have 2 languages - EN and DE

#3

BoldMinded (Brian)

Is this happening on the same site as your other ticket? If so I’m not seeing the issue. Please provide full steps to replicate the issue. Is this a new install? If so what steps did you take to get to this point?

#4

Verve -Webdesign und Grafik

No, it is on another installation. I also tried another browser. I go to the settings of publisher - 1. Phrases Languages and there I see only the 2. translation status ‘en’ Then I click the 3. pen-sign and see the error code I sent to you. Will add another screenshot

#5

BoldMinded (Brian)

Comment has been marked private.

#6

Verve -Webdesign und Grafik

After trying your build I see this error

Error Caught
Call to a member function getPhraseValue() on null
user/addons/publisher/Controllers/Manage/Phrases.php:409

Stack Trace: Please include when reporting this error
#0 user/addons/publisher/Controllers/AbstractController.php(666): BoldMinded\Publisher\Controllers\Manage\Phrases->translationsAction()
#1 user/addons/publisher/Controllers/Manage/Phrases.php(88): BoldMinded\Publisher\Controllers\AbstractController->callControllerAction()
#2 user/addons/publisher/mcp.publisher.php(142): BoldMinded\Publisher\Controllers\Manage\Phrases->render()
#3 user/addons/publisher/mcp.publisher.php(96): Publisher_mcp->runController()
#4 [internal function]: Publisher_mcp->manage()
#5 ee/ExpressionEngine/Controller/Addons/Addons.php(1590): call_user_func_array()
#6 ee/ExpressionEngine/Controller/Addons/Addons.php(866): ExpressionEngine\Controller\Addons\Addons->getModuleSettings()
#7 [internal function]: ExpressionEngine\Controller\Addons\Addons->settings()
#8 ee/ExpressionEngine/Core/Core.php(268): call_user_func_array()
#9 ee/ExpressionEngine/Core/Core.php(124): ExpressionEngine\Core\Core->runController()
#10 ee/ExpressionEngine/Boot/boot.php(184): ExpressionEngine\Core\Core->run()
#11 admin.php(139): require_once('...')
#11 admin.php(139): require_once('...')
#7

BoldMinded (Brian)

I’m not sure why this is the case, but I changed the default language to English and I can edit the phrases now. Try adding the translations and then setting the default language back to German.

#8

Verve -Webdesign und Grafik

Yes, this helps. Now the language switcher is also visible in DE. Thanks again for your great support.

#9

BoldMinded (Brian)

Glad you got it working.

#10

BoldMinded (Brian)

Comment has been marked private.

Login to reply