picocms / Pico

Pico is a stupidly simple, blazing fast, flat file CMS.
http://picocms.org/
MIT License
3.81k stars 616 forks source link

Deprecated: trim(): Passing null to parameter #1 ($string) Running on PHP8.1.11 #652

Closed sampatirage closed 1 year ago

sampatirage commented 1 year ago

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Bitnami\wamp\apache2\htdocs\pico-cms\vendor\symfony\yaml\Inline.php on line 49. Deprecated: Return type of Twig_Markup::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in C:\Bitnami\wamp\apache2\htdocs\pico-cms\vendor\twig\twig\lib\Twig\Markup.php on line 33. Deprecated: realpath(): Passing null to parameter #1 ($path) of type string is deprecated in C:\Bitnami\wamp\apache2\htdocs\pico-cms\vendor\twig\twig\lib\Twig\Loader\Filesystem.php on line 35

Fatal error: Unparenthesized a ? b : c ? d : e is not supported. Use either (a ? b : c) ? d : e or a ? b : (c ? d : e) in C:\Bitnami\wamp\apache2\htdocs\pico-cms\vendor\twig\twig\lib\Twig\Node.php on line 42

Croydon commented 1 year ago

Duplicate of #608

sampatirage commented 1 year ago

Thanks, Michael

On Mon, 21 Nov 2022 at 05:30, Michael Keck @.***> wrote:

Duplicate of #608 https://github.com/picocms/Pico/issues/608

— Reply to this email directly, view it on GitHub https://github.com/picocms/Pico/issues/652#issuecomment-1321208492, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKLBMVSL4LKY53AXX6JBLATWJJU2RANCNFSM6AAAAAASFUHCNU . You are receiving this because you authored the thread.Message ID: @.***>