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

serendipity_event_textile: not compatible to php 8.1 #847

Open
bauigel opened this issue Jul 17, 2024 · 1 comment
Open

serendipity_event_textile: not compatible to php 8.1 #847

bauigel opened this issue Jul 17, 2024 · 1 comment
Labels

Comments

@bauigel
Copy link

bauigel commented Jul 17, 2024

I did an update to s9y latest git-master and now i get a lot of error-messages.

Notice: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated in /plugins/serendipity_event_textile/lib3/src/Netcarver/Textile/Parser.php on line 2181.

Notice: preg_match_all(): Passing null to parameter #2 ($subject) of type string is deprecated in /plugins/serendipity_event_textile/serendipity_event_textile.php on line 164.

Notice: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /serendipity_event_textile/serendipity_event_textile.php on line 180.

The fix is easy for php 8.1 but I'm not sure if there is something to add to be downwards compatible. Maybe there is an update for textile to?

@onli onli added the bugs label Jul 18, 2024
@onli
Copy link
Member

onli commented Jul 18, 2024

Yes, https://github.com/textile/php-textile should be the new upstream for the textile plugin, and that one had a very recent release.

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

No branches or pull requests

2 participants