Skip to main content


!Friendica Support
!Friendica Developers

Privates Messages are not working anymore.
When i open the page

friendica.opensocial.space/mes…

on my Instance, it doesnt show existing messages. If i press the "+ " to create a new Message, i get a 550 Error.
It worked today on the lates pull on RC before the Instance was updated to 2023.04.

reshared this

in reply to Raroun

no errors are shown in php.log

reshared this

in reply to Raroun

@Raroun I can confirm that. With php 8.0 I cannot create new messages /message/new

With php7.4 there are no problems

reshared this

in reply to Raroun

My instance still shows old messages, at least if they are from accounts on my instance.
But I can't write new messages either.
The instance is on 2023.04

reshared this

in reply to OldKid ⁂

have the following error message

TypeError: Cannot access offset of type string on string in /var/www/html/view/smarty3/compiled/67/5d/4e/675d4ecb09a737a51110c0f1840ef4487aa1be4e_2.file.message_recipient.tpl.php:32
Stack trace:
#0 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_644553cc4d1d03_80577142()
#1 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#2 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#3 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#4 /var/www/html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()
#5 /var/www/html/src/Render/FriendicaSmartyEngine.php(100): Smarty_Internal_TemplateBase->fetch()
#6 /var/www/html/src/Core/Renderer.php(84): Friendica\Render\FriendicaSmartyEngine->replaceMacros()
#7 /var/www/html/src/Core/ACL.php(70): Friendica\Core\Renderer::replaceMacros()
#8 /var/www/html/mod/message.php(187): Friendica\Core\ACL::getMessageContactSelectHTML()
#9 /var/www/html/src/LegacyModule.php(96): message_content()
#10 /var/www/html/src/LegacyModule.php(73): Friendica\LegacyModule->runModuleFunction()
#11 /var/www/html/src/BaseModule.php(244): Friendica\LegacyModule->content()
#12 /var/www/html/src/App.php(700): Friendica\BaseModule->run()
#13 /var/www/html/index.php(56): Friendica\App->runFrontend()
#14 {main}

reshared this

in reply to OldKid ⁂

Same error in my log; running on PHP8
Kliknutím otevřete/zavřete2023-04-23T16:07:07Z index [ERROR]: Uncaught Exception TypeError: "Cannot access offset of type string on string" at /srv/http/schmaker.eu/view/smarty3/compiled/3f/47/bf/3f47bf089fe0ee5a6b3d65c46c9b5e1be09e67de_2.file.message_recipient.tpl.php line 32 {"exception":"TypeError: Cannot access offset of type string on string in /srv/http/schmaker.eu/view/smarty3/compiled/3f/47/bf/3f47bf089fe0ee5a6b3d65c46c9b5e1be09e67de_2.file.message_recipient.tpl.php:32\nStack trace:\n#0 /srv/http/schmaker.eu/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_644556041a9951_07858953()\n#1 /srv/http/schmaker.eu/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#2 /srv/http/schmaker.eu/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()\n#3 /srv/http/schmaker.eu/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()\n#4 /srv/http/schmaker.eu/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute()\n#5 /srv/http/schmaker.eu/src/Render/FriendicaSmartyEngine.php(100): Smarty_Internal_TemplateBase->fetch()\n#6 /srv/http/schmaker.eu/src/Core/Renderer.php(84): Friendica\\Render\\FriendicaSmartyEngine->replaceMacros()\n#7 /srv/http/schmaker.eu/src/Core/ACL.php(68): Friendica\\Core\\Renderer::replaceMacros()\n#8 /srv/http/schmaker.eu/mod/message.php(187): Friendica\\Core\\ACL::getMessageContactSelectHTML()\n#9 /srv/http/schmaker.eu/src/LegacyModule.php(96): message_content()\n#10 /srv/http/schmaker.eu/src/LegacyModule.php(73): Friendica\\LegacyModule->runModuleFunction()\n#11 /srv/http/schmaker.eu/src/BaseModule.php(244): Friendica\\LegacyModule->content()\n#12 /srv/http/schmaker.eu/src/App.php(700): Friendica\\BaseModule->run()\n#13 /srv/http/schmaker.eu/index.php(43): Friendica\\App->runFrontend()\n#14 {main}"} - {"file":null,"line":null,"function":null,"request-id":"644557aaf32bf","uid":"317162","process_id":3885903}

reshared this

in reply to Raroun

Message list works for me, but https://schmaker.eu/message/new shows empty page.

reshared this

in reply to Raroun

Old messages are now showing up, i can even reply to them but pressing the "+" for a new message still gives me the 550.

reshared this

in reply to Raroun

*running php 8.0
Tato položka byla upravena (1 year ago)

reshared this

in reply to Raroun

I updated Friendica today and have the same issue ...

reshared this

Unknown parent

Hypolite Petovan
@Tuxi :Friendica: 🐧 ✅ @Raroun Do you have the associated PHP error log message?

reshared this

Unknown parent

utzer [Friendica]
@𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ @Tuxi :Friendica: 🐧 ✅ @Matthias ✔ ja, sollte automatisch, funktionierte bei mir aber sehr unzuverlässig, seit dem mache ich es immer manuell bei jedem Update via git.

reshared this

Unknown parent

Hypolite Petovan
@𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ @Tuxi :Friendica: 🐧 ✅ Thanks, I'd need to troubleshoot this on a PHP 8+ server because I'm at a loss what's missing. Would anyone be available to meet on Jitsi sometimes today?

reshared this

in reply to Raroun

@Raroun
Ich habe das gleiche Problem und hier auch PHP 8.2.x laufen ... scheint ein Brain-Bug zu sein.

reshared this

Unknown parent

Raroun

@𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ @Tuxi :Friendica: 🐧 ✅ @Hypolite Petovan

I’m busy today and probably tomorrow too in a Desaster recovery at one of my clients 😖

reshared this

Unknown parent

utzer [Friendica]
@Tuxi :Friendica: 🐧 ✅ @Hypolite Petovan @𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ es fragt ob jemand sich in Jitsi treffen mag und ihn dann in die Console schauen lässt um den Fehler zu finden.

reshared this

in reply to Raroun

Ich warte dann mal lieber noch mit dem Update.

reshared this

in reply to Hypolite Petovan

@Hypolite Petovan
What timezone are you in?
I have some spare time tomorrow evening (gmt+1).
If you are still interested to check the situation on our instance, I could grant you access via pcvisit, TeamViewer or whatever 😀
@Hypolite Petovan

reshared this

in reply to utzer [Friendica]

@utzer [Friendica] @Tuxi :Friendica: 🐧 ✅ @𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ @Raroun Utzer is right, I'm in UTC-4. I can make myself available in my morning (your afternoon) or my afternoon (your evening). I've never used either TeamViewer nor pcvisit but I'm open to use either of them if I can install a free (as in beer) client.

reshared this

in reply to Hypolite Petovan

@Hypolite Petovan
I would be available from noon til 4 pm your time.
We can use Jitsi if you want - im not familiar with it but i guess we can work it out 😀
Can i sahre screen and you can access (remote control) it via jitsi?

reshared this

in reply to Raroun

@Raroun @Tuxi :Friendica: 🐧 ✅ @𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅ No remote control with Jitsi but I can provide my SSH public key for direct access.

Let's say 1 PM EST (6 PM GMT+1) in this Jitsi Meet room: meet.jit.si/StupendousEntertai…

reshared this

in reply to Raroun

@Raroun I'm in, I can see that you're in too but you're muted and you don't seem to hear me either.

reshared this

in reply to Hypolite Petovan

Hi, I wrote you a message it probably didn’t arrived you. I’m back in around 20 minutes.

reshared this

in reply to Raroun

@Raroun Yeah, chat history isn't kept for new people joining the Jitsi Meet room. I have to drop everything at 2:30 PM EST (in 75 mn) so hopefully we can work it out faster than that!

reshared this

in reply to Raroun

Can anyone who already applied the patch I merged in the develop branch confirm it still isn't working on their node?
Tato položka byla upravena (1 year ago)

reshared this

in reply to Raroun

I can confirm it works on the developer Branch. Thanks to @Hypolite Petovan for all the effort.
Is it probably a good Idea to make a 2023.4 hotfix - like mentioned in the closed issue - with this patch and include the translated messages.po also?

reshared this

in reply to Raroun

ok, just read on git that a hotfix is ​​coming - thank you!

reshared this

in reply to Raroun

@utzer [Friendica] @agarbathi @Tuxi :Friendica: 🐧 ✅ @𝗝𝗮𝗸𝗼𝗯 :𝗳𝗿𝗶𝗲𝗻𝗱𝗶𝗰𝗮: 🇦🇹 ✅
The hotfix for the private messages and the translation was released about 2 hours ago. Just for your information.

reshared this

in reply to Raroun

And here's a link for your convenience: github.com/friendica/friendica…

reshared this