Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Addon] URL Replace creates a WSOD after activation of the addon #13968

Closed
1 task done
loma-one opened this issue Mar 6, 2024 · 9 comments
Closed
1 task done

[Addon] URL Replace creates a WSOD after activation of the addon #13968

loma-one opened this issue Mar 6, 2024 · 9 comments
Assignees
Milestone

Comments

@loma-one
Copy link

loma-one commented Mar 6, 2024

  • I have searched open and closed issues for duplicates

Bug Description

After activating the add-on, a WSOD appears on the configuration page.

Platform Info

Friendica Version: RC 1555/1555 und die Post-Update-Version 1550/1550.

Friendica Source: git

PHP version: 8.2

SQL version: 10.5

@loma-one loma-one added the Bug label Mar 6, 2024
@annando
Copy link
Collaborator

annando commented Mar 6, 2024

Do you have got any logs?

@loma-one
Copy link
Author

loma-one commented Mar 6, 2024

2024-03-06T12:35:23Z app [ERROR]: Uncaught Exception TypeError: "implode(): Argument #1 ($array) must be of type array, string given" at /var/www/html/friend/addon/url_replace/url_replace.php line 49 {"exception":"TypeError: implode(): Argument #1 ($array) must be of type array, string given in /var/www/html/friend/addon/url_replace/url_replace.php:49\nStack trace:\n#0 /var/www/html/friend/addon/url_replace/url_replace.php(49): implode()\n#1 /var/www/html/friend/src/Module/Admin/Addons/Details.php(105): url_replace_addon_admin()\n#2 /var/www/html/friend/src/BaseModule.php(250): Friendica\\Module\\Admin\\Addons\\Details->content()\n#3 /var/www/html/friend/src/App.php(711): Friendica\\BaseModule->run()\n#4 /var/www/html/friend/index.php(46): Friendica\\App->runFrontend()\n#5 {main}"} - {"file":null,"line":null,"function":null,"request-id":"65e8630ba51f6","stack":"ErrorHandler::handleException (128), ErrorHandler::Friendica\\Core\\Logger\\Handler\\{closure}","uid":"8c1562","process_id":1475}

@MrPetovan MrPetovan self-assigned this Mar 6, 2024
@MrPetovan
Copy link
Collaborator

I'll take this one and the Fatal error reported in #13763 (comment)

@MrPetovan MrPetovan added this to the 2024.03 milestone Mar 6, 2024
@MrPetovan
Copy link
Collaborator

MrPetovan commented Mar 6, 2024

@Friendlica Can you please run bin/console config url_replace twelvefeet_sites in your Friendica folder and report the output?

@loma-one
Copy link
Author

loma-one commented Mar 7, 2024

bin/console config url_replace twelvefeet_sites
url_replace.twelvefeet_sites => NULL

@MrPetovan
Copy link
Collaborator

Thanks, would you be able to test this patch on your system: https://git.friendi.ca/friendica/friendica-addons/commit/6a9287dc6fdd0341d2852a4d3ec844fc855502a3

@annando
Copy link
Collaborator

annando commented Mar 7, 2024

Should I merge it anyway or should we wait for the feedback?

@MrPetovan
Copy link
Collaborator

You can safely merge but I can't guarantee it will fix this particular issue.

@loma-one
Copy link
Author

loma-one commented Mar 9, 2024

The patch was successful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants