Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

This is the right place to report general bugs, make suggestions or ask for help.
Post Reply
laborix
Posts: 81
Joined: Sat Feb 16, 2019 3:51 pm

Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Post by laborix » Sun Sep 18, 2022 2:00 pm

Situation:
Install Flatpress and create another blog article. The first blog article in the Flatpress blog contains a [more] tag. If you click on the first blog article and then on [Read more...], the following error message appears in the "this page/next page" section.

Code: Select all

Warning: Trying to access array offset on value of type null in .../fp-includes/core/core.wp-pluggable-funcs.php on line 66
Warning: Undefined array key 1 in .../fp-includes/core/core.fpdb.class.php on line 935
This only happens if the very first blog article contains a [more] tag.

User avatar
Arvid
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Post by Arvid » Sat Oct 01, 2022 7:28 pm

Hi,

thanks for reporting! :)
Can you still reproduce this with the current master? I was quite sure we fixed this with 92475a3.

All the best,
Arvid
Helpful FlatPress links: Project blog ๐Ÿ“ - FlatPress wiki ๐Ÿ“– - FlatPress@Twitter ๐Ÿฆ - FlatPress@Mastodon ๐Ÿ˜
Stay up to date with our feeds: Forum RSS feed ๐Ÿ“œ - Project blog RSS feed ๐Ÿ“œ
Feel free to say Thank you: Donate โค๏ธ

๐Ÿ‡ฉ๐Ÿ‡ช Fรผr meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration ๐Ÿ‡ฉ๐Ÿ‡ช

laborix
Posts: 81
Joined: Sat Feb 16, 2019 3:51 pm

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Post by laborix » Sun Oct 02, 2022 4:20 pm

Arvid wrote: โ†‘Sat Oct 01, 2022 7:28 pm... Can you still reproduce this with the current master? I was quite sure we fixed this with 92475a3. ...
Tested with FlatPress Master Github 710 on PHP 8.0.23 and it seems to fixed :)

regards

User avatar
Arvid
FlatPress Coder
Posts: 414
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: Flatpress 1.2.1 and PHP 8.0: Warning with [more]-tag

Post by Arvid » Sun Oct 02, 2022 6:04 pm

Awesome 8-)
Helpful FlatPress links: Project blog ๐Ÿ“ - FlatPress wiki ๐Ÿ“– - FlatPress@Twitter ๐Ÿฆ - FlatPress@Mastodon ๐Ÿ˜
Stay up to date with our feeds: Forum RSS feed ๐Ÿ“œ - Project blog RSS feed ๐Ÿ“œ
Feel free to say Thank you: Donate โค๏ธ

๐Ÿ‡ฉ๐Ÿ‡ช Fรผr meinen Arbeitgeber in Bochum habe ich zwei Stellen zu besetzen: Junior-Systemadministrator, Ausbildung zum Fachinformatiker Systemintegration ๐Ÿ‡ฉ๐Ÿ‡ช

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 0 guests