Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Warnings in Server Logs - 1000's of them
Avatar
Philip Treacy
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2023 - 6:47 am

This is my 2nd attempt posting this, the 1st time it seems to have been deleted ....

 

I’m getting warnings like these repeated every few seconds

PHP message: PHP Warning – Undefined variable $link – file: /forum-plugins/plupload/library/sp-plupload-components.php – line: 416 – function: sp_plupload_do_show_attachments

PHP message: PHP Warning – Undefined array key “wpseo_og” – file: /simplepress/sp-startup/forum/sp-forum-support-functions.php – line: 169 – function: sp_wp_seo_hooks”

My server is running PHP 8.0, Simple Press 6.8.2, all SP plugins are up to date.

Regards

Phil

Avatar
Marcus (Simple:Press)
Admin
sp_UserOfflineSmall Offline
Feb 3, 2023 - 9:34 am

Hi again Philip,

I agree that it's annoying to have lots of warnings written to the server logs. They can make the site slow as well as make debugging harder since they can hide other issues.

The PHP Warnings you list looks like they are PHP 8 related and we are making PHP 8.0 compatibility a top priority right now. (And then we are starting on 8.2 right way). 

I don't have an immediate solution, but we will go through the plugin and all addons during the next few weeks to fix any errors, warnings and notices.

 

Best Regards,

Marcus,
Simple:Press

Avatar
Philip Treacy
Member
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2023 - 8:14 pm

Thanks Marcus.

 

Although it's a little disappointing that SP isn't already fully PHP 8 compatible, given that PHP7 went full end of life in Nov 2022.

Avatar
Joakim (Simple:Press)
Sweden
Admin
sp_UserOfflineSmall Offline
Feb 20, 2023 - 8:32 am

Hi Philip,

We understand your concern regarding PHP7 EOL, and as Marcus said that is one of our top priorities right now.

Thanks for your patience.

Joakim,
Simple:Press

Avatar
Philip Treacy
Member
Free Members
sp_UserOfflineSmall Offline
Feb 24, 2023 - 6:29 am

Hi Joakim,

I'm not really sure what to say.  My forum is working intermittently.  We've had some customers notify us that the site reports a critical error i.e. crashed. 

I see that some forum users post the same question twice. When I ask them why, they say it's because the first time they tried, the site had a critical error.

Our hosting company has sent me notifications saying the site is not available due to an error and include something like this in their message:

2023/02/21 12:54:02 [error] 75025#75025: *612158 FastCGI sent in stderr: "PHP message: PHP Warning - Undefined array key "wpseo_og" - file: /simplepress/sp-startup/forum/sp-forum-support-functions.php - line: 169 - function: sp_wp_seo_hooks"

And I've also encountered a critical error when I sometimes reply to a post, so I've experienced it first hand.

There's clearly something not right and the logs are only mentioning Simple Press files so my conclusion is that it's SP causing the issues.

I can't pinpoint what causes these critical failures so I'm totally in the dark here waiting on code to be updated to PHP 8.

Is there any way you can have a look at my logs and figure out what is causing these critical errors on my server?

Phil
Avatar
Marcus (Simple:Press)
Admin
sp_UserOfflineSmall Offline
Feb 24, 2023 - 7:25 am

Hi Philip,

We are currently working on finding and eliminating all bugs and it would be very helpful if you could send your error log files to contact@simple-press.com. Any error messages you or your forum members get would also be helpful.

It would help if there is anyway you could pinpoint exactly when the critical errors occur. It seems to be connected to members submitting posts. Is it tied to anything else, like only the first post or only replies? Only posts with images or special formatting? Is there anything else that the errors seem to have in common?

Any information you could provide would help us find the issues.

Marcus,
Simple:Press

Avatar
Philip Treacy
Member
Free Members
sp_UserOfflineSmall Offline
Jun 12, 2023 - 5:53 am

Hi,

I just updated to SP 6.9.1, still getting these warnings logged continuously, every few seconds.

Phil

error logsImage Enlarger

Avatar
Joakim (Simple:Press)
Sweden
Admin
sp_UserOfflineSmall Offline
Jun 15, 2023 - 3:15 pm

Hi!

We just fixed this. This issue will be solved as soon as we release 6.9.2.

If you get more warnings, please post them like you did with this one. Simple:Press contains a bunch of configuration options and compatibility fixes for different plugins and checking everything is quite cumbersome.

Regards,
Joakim @ Simple:Press

Avatar
Philip Treacy
Member
Free Members
sp_UserOfflineSmall Offline
Jul 3, 2023 - 2:33 am

Hi Joakim,

Is 6.9.2 out?  My Wp backend is not telling me that it's available - see image

Phil

 

Image Enlarger

Avatar
Joakim (Simple:Press)
Sweden
Admin
sp_UserOfflineSmall Offline
Jul 3, 2023 - 11:08 am

Hi!

No we have not released that yet.

Best regards,
Joakim @ Simple:Press

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: vikialb
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625