Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Plugins

Readability plugin using PHP8.0 issues

plugins

Started by Jerry Hunt 4 years ago · 2 replies · 483 views
4 years ago

I have upgraded my server to PHP 8.0, everything is fine so far with one exception.
The Readability plugin crashes the entire grav site.
Line 18 twig/FindResourceExtension.php uses the term 'boolean' instead of bool
booleon is an alias for bool and has been deprecated .
I changed it to 'bool' in the file and it fixed the compatibility issue.

However, another issue - when invoked the it just keeps running (circular icon) without actual doing anything.
In case it was due to PHP 8.0 I installed it on another server using PHP 7.4 and got the the same issue of not doing the readability check.
So assume it is a different issue.

4 years ago

Best to log both issues separately on the plugin repo. It hasn't been updated in 2 years, so there actually might be more hidden issues. I know @OleVik is quite busy, but maybe he'll pick up those.

Edit: I see bool issue is already logged (just the name doesn't say much 😠)

4 years ago

The boolean-issue has been fixed in v2.1.1, the other is under discussion. Adding issues to the repo is definitely the best channel to reach me, though triaging issues admittedly sadly happens every blue moon. The issue succinctly describes the problem and even has the description of a fix, which helps a lot.

Pull requests are also hugely helpful, they can be rapidly tested and reviewed, and I tend to merge them quickly with attribution.

👍 1

Suggested topics

Topic Participants Replies Views Activity
Plugins · by Rene, 1 week ago
2 43 1 week ago
Plugins · by Xavier, 4 weeks ago
2 54 4 weeks ago
Plugins · by Luka Prinčič, 7 years ago
3 1181 1 month ago
Plugins · by Sebastian van de Meer, 1 month ago
1 48 1 month ago
Plugins · by PIERROT Alain, 2 months ago
3 73 2 months ago