FlatPress Github 892, nginx 1.22 and plugin photoswipe

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
laborix
Posts: 110
Joined: Sat Feb 16, 2019 3:51 pm

FlatPress Github 892, nginx 1.22 and plugin photoswipe

Post by laborix » Tue Apr 11, 2023 5:08 pm

While testing with a FP blog with gallery, more PHP warnings appear:

Code: Select all

Warning: Undefined array key "default" in .../fpgit892/fp-plugins/photoswipe/photoswipefunctions.class.php on line 42
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in .../fpgit892/fp-plugins/photoswipe/photoswipefunctions.class.php on line 45
Warning: Undefined array key 0 in .../fpgit892/fp-plugins/photoswipe/photoswipefunctions.class.php on line 73
Deprecated: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in .../fpgit892/fp-plugins/photoswipe/photoswipefunctions.class.php on line 74
Warning: Trying to access array offset on value of type null in .../fpgit892/fp-plugins/photoswipe/photoswipefunctions.class.php on line 74
The current PHP 8.1 version is used and in this case the warning appears in the Webbrowser window.

User avatar
fraenkiman
Posts: 138
Joined: Thu Feb 03, 2022 7:25 pm
Location: Berlin, Germany
Contact:

Re: FlatPress Github 892, nginx 1.22 and plugin photoswipe

Post by fraenkiman » Sun Apr 16, 2023 3:47 pm

Hello Laborix,

Thank you very much for reporting. I have opened an issue on this.

With best weekend greetings
Frank
:pencil: You are strong in PHP and Java Script? :point_right: Then help us to improve FlatPress. :point_left:

:exploding_head: Looking for ideas, templates, examples and answers to frequently asked questions?
:bulb: You'll find it here.

My :de: FlatPress-Blog: https://frank-web.dedyn.io

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests