- This topic has 5 replies, 2 voices, and was last updated 5 months, 1 week ago by
David.
-
AuthorPosts
-
October 24, 2022 at 6:36 am #2384084
Norman
Hello,
I’m wondering if you can help with interpreting error messages after attempting to update my site at https://churchletters.org from PHP 7.4 to 8.1 –
Perhaps not theme related but just looking for possible help. I’m also contacting the membership plugin developer (DAP)
Thanks,
Norm==============================
[24-Oct-2022 08:19:06 EST] PHP Warning: Constant ABSPATH already defined in /home/letters/public_html/wp-config.php on line 82
[24-Oct-2022 08:19:06 EST] PHP Warning: Constant DISABLE_WP_CRON already defined in /home/letters/public_html/wp-config.php on line 90
[24-Oct-2022 06:19:07 America/Los_Angeles] PHP Warning: Undefined array key “utm_source” in /home/letters/public_html/wp-content/plugins/smartpaycart/includes/lib/functions.php on line 361
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, stdClass given in /home/letters/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php:685
Stack trace:
#0 /home/letters/public_html/wp-includes/class-wp-hook.php(309): dap_filter_posts(Array)
#1 /home/letters/public_html/wp-includes/plugin.php(235): WP_Hook->apply_filters(Array, Array)
#2 /home/letters/public_html/wp-includes/class-wp-query.php(3348): apply_filters_ref_array(‘the_posts’, Array)
#3 /home/letters/public_html/wp-includes/class-wp-query.php(3613): WP_Query->get_posts()
#4 /home/letters/public_html/wp-includes/class-wp.php(648): WP_Query->query(Array)
#5 /home/letters/public_html/wp-includes/class-wp.php(775): WP->query_posts()
#6 /home/letters/public_html/wp-includes/functions.php(1330): WP->main(”)
#7 /home/letters/public_html/wp-blog-header.php(16): wp()
#8 /home/letters/public_html/index.php(17): require(‘/home/letters/p…’)
#9 {main}
thrown in /home/letters/public_html/wp-content/plugins/DAP-WP-LiveLinks/DAP-WP-LiveLinks.php on line 685
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “ID” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4213
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “post_title” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4215
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “post_name” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4217
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “ID” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4213
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “post_title” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4215
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “post_name” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4217
[24-Oct-2022 06:19:08 America/Los_Angeles] PHP Warning: Attempt to read property “post_type” on null in /home/letters/public_html/wp-includes/class-wp-query.php on line 4365
[24-Oct-2022 08:19:09 EST] PHP Warning: Constant ABSPATH already defined in /home/letters/public_html/wp-config.php on line 82
[24-Oct-2022 08:19:09 EST] PHP Warning: Constant DISABLE_WP_CRON already defined in /home/letters/public_html/wp-config.php on line 90
[24-Oct-2022 06:19:10 America/Los_Angeles] PHP Warning: include_once(/dap/dap-config.php): Failed to open stream: No such file or directory in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 284
[24-Oct-2022 06:19:10 America/Los_Angeles] PHP Warning: include_once(): Failed opening ‘/dap/dap-config.php’ for inclusion (include_path=’.’) in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 284
[24-Oct-2022 06:19:10 America/Los_Angeles] PHP Warning: Undefined array key “action” in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 621
[24-Oct-2022 06:19:10 America/Los_Angeles] PHP Warning: Undefined array key “key” in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 622
[24-Oct-2022 08:19:11 EST] PHP Warning: Constant ABSPATH already defined in /home/letters/public_html/wp-config.php on line 82
[24-Oct-2022 08:19:11 EST] PHP Warning: Constant DISABLE_WP_CRON already defined in /home/letters/public_html/wp-config.php on line 90
[24-Oct-2022 06:19:12 America/Los_Angeles] PHP Warning: include_once(/dap/dap-config.php): Failed to open stream: No such file or directory in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 284
[24-Oct-2022 06:19:12 America/Los_Angeles] PHP Warning: include_once(): Failed opening ‘/dap/dap-config.php’ for inclusion (include_path=’.’) in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 284
[24-Oct-2022 06:19:12 America/Los_Angeles] PHP Warning: Undefined array key “action” in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 621
[24-Oct-2022 06:19:12 America/Los_Angeles] PHP Warning: Undefined array key “key” in /home/letters/public_html/wp-content/plugins/dapheaderlogin/_dapheaderlogin.php(1) : eval()’d code on line 622
==
October 24, 2022 at 6:45 am #2384093David
StaffCustomer SupportHi there,
all those errors trace to the (?)
dapheaderlogin
plugin. You may want to report that to the plugin author…
but please note even WP isn’t fully compatible with PHP 8.* yet:https://make.wordpress.org/core/2022/01/10/wordpress-5-9-and-php-8-0-8-1/
And there are plenty of plugins out there that are not either, and some of that may be because they are waiting WP core updates.
In short, try PHP 8.0.1 instead, if that works great.
If you get the same error and you can’t replace that plugin then you will need to downgrade to 7.4.Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 24, 2022 at 6:48 am #2384097Norman
Thank you, David.
So “all” the errors point to that plugin? I can actually do without it, so I may try that as well.
Thanks,
NormOctober 24, 2022 at 6:57 am #2384109David
StaffCustomer SupportTop of the stack trace we see:
dap_filter_posts
where the error originates – i am kinda guessing that belongs to that plugin. As all the other notices then follow to:wp-content/plugins/dapheaderlogin/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/October 24, 2022 at 6:58 am #2384110Norman
Okay, thank you for your help.
Have a great day,
NormOctober 24, 2022 at 7:23 am #2384129David
StaffCustomer SupportYou’re welcome
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.