• Hi.
    I have some big problems with WPGive. – I get spammed with errors in my PHP log..

    2024/09/05 11:02:08 [error] 110405#110405: *25385 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_type" on null in /www/futurenodedk_103/public/wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags.php on line 18" while reading response header from upstream, client: 40.77.*.*, server: www.futurenode.dk, request: "GET /bloggen-foralle-alle/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.3-fpm-futurenodedk.sock:", host: "www.futurenode.dk:40352"
    2024/09/05 09:33:02 [error] 110405#110405: *25203 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_type" on null in /www/futurenodedk_103/public/wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags.php on line 18" while reading response header from upstream, client: 66.249.*.*, server: www.futurenode.dk, request: "GET /.well-known/traffic-advice HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.3-fpm-futurenodedk.sock:", host: "www.futurenode.dk:40352"
    2024/09/05 07:58:03 [error] 110405#110405: *24968 FastCGI sent in stderr: "PHP message: PHP Warning: Attempt to read property "post_type" on null in /www/futurenodedk_103/public/wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags.php on line 18" while reading response header from upstream, client: 40.77.*.*, server: www.futurenode.dk, request: "GET /ghost HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.3-fpm-futurenodedk.sock:", host: "www.futurenode.dk:40352"

    And many more like this!

    I hope you can help me fix this

    Regards

    Thomas – https://www.futurenode.dk

    The page I need help with: [log in to see the link]

Viewing 12 replies - 1 through 12 (of 12 total)
  • Thread Starter Thomas Due Halfdaner

    (@taxick)

    Any support???

    I’m facing the same issue on my website. I’ve noticed a problem with reading the post type, although the post type appears correct in the database. Additionally, the donation form pages are either showing as 404 errors or redirecting to the blog site, and I’m unsure why.

    • This reply was modified 2 months, 1 week ago by mashipae.
    Thread Starter Thomas Due Halfdaner

    (@taxick)

    Any Help?????

    Having same issue now. Any solution?

    Fact that when you google this keyword wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags aside the first two SERP results, the remaining sites are sites using givewp with this error types indexed by google is alarming

    Thread Starter Thomas Due Halfdaner

    (@taxick)

    Wow.. I can see this.. Its sad there is no fix for this bug!

    mattf10

    (@mattf10)

    This also occurs in PHP 8.2. My logs are filled with the same error:

    Attempt to read property "post_type" on null in /wp-content/plugins/give/src/DonationForms/Actions/PrintFormMetaTags.php on line 18

    The warning is caused by this code:

    $post->post_type === 'give_forms'

    Please add some error handling to ensure that $post->post_type is set before accessing it.

    Thanks

    Thread Starter Thomas Due Halfdaner

    (@taxick)

    Anyone that have found a solution to this problem?

    @taxick Only solution is to downgrade to PHP 7.x

    Thread Starter Thomas Due Halfdaner

    (@taxick)

    Hmmm sucks.

    I will wait for an update. I hope it will be fixed soon

    mattf10

    (@mattf10)

    This was fixed in the latest release (3.17.0).

    Plugin Support Robin Joshua Del Mundo

    (@robindelmundo)

    Hi folks,

    Please excuse the slow turnaround here.

    Echoing what @mattf10 has already mentioned, this has been resolved as of Give 3.17.0. Make sure to update to the latest version so that you won’t miss any important security releases and new features!

    With that said, I’m marking this one as resolved. If you still need assistance with this specific issue, please reply in here and I’ll pop back in to assist.

    Thank you for using GiveWP!

    Have a wonderful day.

Viewing 12 replies - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.