Skip Navigation

[Waiting for user feedback] PHP Warning: Attempt to read property “post_author”

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 1 voice.

Last updated by Minesh 2 days, 5 hours ago.

Assisted by: Minesh.

Author
Posts
#2824013

I am trying to: Debug a PHP warning message that is eating up my error.logs.

The error message reads:
2025/09/08 20:56:20 [error] 324#324: *50 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_author" on int in /www/genthrive_444/public/wp-content/plugins/toolset-blocks/embedded/inc/wpv-api.php on line 221" while reading response header from upstream, client: 114.119.128.10, server: genthrive.org, request: "GET /service-provider/mountainside-education-and-enrichment/ HTTP/2.0", upstream: "hidden link:", host: "genthrive.org:29712", referrer: "hidden link"

It would appear that: The particular warning is not an error (as it doesn't break the site) but a Warning in PHP from the toolset-blocks plugin on the WordPress site. The specific issue is an attempt to access the 'post_author' property on a variable that is an integer rather than a post object.

#2824234

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Can you please share problem URL and admin access details and let me check whats going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2824602

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked the views you build but I do not see anywhere you are using the information related to post author or get or displaly the post author or related information.

I see you are using number of third party plugins. In order to minimize the cause of the issue and to ensure there is no conflict with the plugins/theme you use.

You can try to setup a staging site that should be `1:1 copy of your production site and then try to run the following test on our stating site.

Could you please try to resolve your issue by deactivating all third-party plugins as well as the default theme to check for any possible conflicts with any of the plugins or themes?
- Do you see any difference? if no:

You need to first spot where exactly using what line statement it throws the PHP Warning.