phpBB version: 3.3.10
SEO Metadata version: 1.4.1
Style: ProSilver or Rock'n Roll 3.0/9
If a forum item contains multiple pages (posts per page: set to 25) and the User Control Panel, Board preferences, display options is set to Descending, the following PHP errors are displayed at the top of the webpage:
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/event/listener.php on line 114: Undefined array key 465
[phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/event/listener.php on line 114: Trying to access array offset on value of type null
Is there a fix for this error?
PHP errors with display post order direction: Descending - SEO Metadata
-
- Registered User
- Posts: 9
- Joined: Sun Aug 20, 2023 8:31 pm
Re: PHP errors with display post order direction: Descending
I have the same problem. Any solution?
-
- Registered User
- Posts: 40
- Joined: Sun Jan 08, 2017 2:48 am
Re: PHP errors with display post order direction: Descending
I could not reproduce the issue, however I added an extra check in version 1.4.2 so that warning should not show up, the post will be ignored instead.
You can wait until the validation team approves the new version, or you could download it right now from the following topic:
https://www.phpbb.com/customise/db/exte ... 36#p708436
You can wait until the validation team approves the new version, or you could download it right now from the following topic:
https://www.phpbb.com/customise/db/exte ... 36#p708436
Some of my phpBB extensions:
SEO Metadata | Markdown | hCaptcha
Check out all my validated extensions
Arch Linux user | Linux Boards
SEO Metadata | Markdown | hCaptcha
Check out all my validated extensions
Arch Linux user | Linux Boards
-
- Recognised Extension Developer
- Posts: 1321
- Joined: Wed Dec 25, 2013 9:06 pm
- Location: /dev/null
- Name: Alfredo
Re: PHP errors with display post order direction: Descending
phpBB version: 3.3.12
SEO Metadata version: 1.4.2
User Control Panel, Board preferences, Display options, Display post order direction: Descending
I updated the extension to the latest version and I retested and checked if the PHP errors where gone.
I still have the following PHP error:
phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/event/listener.php on line 119: Undefined array key "description"
I only have this error if I have multiple pages of a forum thread and if I set: User Control Panel, Board preferences, Display options, Display post order direction: to Descending. If I set User Control Panel, Board preferences, Display options, Display post order direction: to Ascending the the PHP error is gone.
SEO Metadata version: 1.4.2
User Control Panel, Board preferences, Display options, Display post order direction: Descending
I updated the extension to the latest version and I retested and checked if the PHP errors where gone.
I still have the following PHP error:
phpBB Debug] PHP Warning: in file [ROOT]/ext/alfredoramos/seometadata/event/listener.php on line 119: Undefined array key "description"
I only have this error if I have multiple pages of a forum thread and if I set: User Control Panel, Board preferences, Display options, Display post order direction: to Descending. If I set User Control Panel, Board preferences, Display options, Display post order direction: to Ascending the the PHP error is gone.
-
- Registered User
- Posts: 9
- Joined: Sun Aug 20, 2023 8:31 pm