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] Advanced content filters cannot be created, edited, activated, deactivated or deleted #13822

Closed
1 task done
loma-one opened this issue Jan 11, 2024 · 4 comments
Closed
1 task done
Assignees
Milestone

Comments

@loma-one
Copy link

  • I have searched open and closed issues for duplicates

Bug Description

The Advanced content filters add-on does not allow editing. It cannot be used to create or edit new rules or to activate or deactivate existing rules. It is also not possible to delete rules.
Tested on loma.ml., libranet.de, opensocial.at

Platform Info

Friendica Version: stable

Friendica Source: git

PHP version: 8.1

SQL version: 10.5

@loma-one loma-one added the Bug label Jan 11, 2024
@MrPetovan
Copy link
Collaborator

Any error showing up in either the console or the PHP log?

@MrPetovan MrPetovan self-assigned this Jan 11, 2024
@loma-one
Copy link
Author

app [ALERT]: Fatal Error (E_COMPILE_ERROR): Declaration of Slim\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool {"code":64,"message":"Declaration of Slim\\Container::has($id) must be compatible with Psr\\Container\\ContainerInterface::has(string $id): bool","file":"/var/www/html/friendica/addon/advancedcontentfilter/vendor/slim/slim/Slim/Container.php","line":160,"trace":null} - {"file":null,"line":null,"function":null,"request-id":"65a03376538d6","stack":"ErrorHandler::handleFatalError","uid":"cab47b","process_id":3190375}

@MrPetovan
Copy link
Collaborator

Thanks!

@MrPetovan
Copy link
Collaborator

Addressed in https://git.friendi.ca/friendica/friendica-addons/pulls/1455

I had to migrate the addon to Slim version 4 because version 3 will not receive PHP 8.2 deprecation fixes.

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

2 participants