I am having MAJOR problems with my site. First it was throwing errors for redirecting errors in the header then I thought to see if a previous version would fix the problems, so I loaded a back-up to check. That didn’t work so I went back to the current version I was working on and NOW I am unable to get to the dashboard.
When I type in ‘wp-admin’ it goes to a blank screen. I’ve checked the database (that’s correct), I’ve tried to define the site_url and home in both config.php and functions.php (No Good).
The site is still up, but I can’t get inside to make any edits.
I discovered the problem when I attempted to change the blog tagline and it sent me to the errors.
I’ve renamed the plugins I thought were the problem as well, but still nothing. I’ve also changed my wp_debug = true just in case. After that I tried logging ini via wp-login.php screen (worked) but got a blank screen after inputting creds.
I renamed the plugins folder removing ALL plugins and was able to enter the dashboard. I only loaded the core plugins I knew were working before anything went wrong, and after going to the permalinks and clicked update- I get sent to a blank screen.
*I was able to duplicate the errors, they are:
“
Warning: Use of undefined constant SECURE_AUTH_COOKIE – assumed ‘SECURE_AUTH_COOKIE’ (this will throw an Error in a future version of PHP) in /home/customer/www/bricktopia.online/public_html/wp-includes/pluggable.php on line 929
Warning: Use of undefined constant LOGGED_IN_COOKIE – assumed ‘LOGGED_IN_COOKIE’ (this will throw an Error in a future version of PHP) in /home/customer/www/bricktopia.online/public_html/wp-includes/pluggable.php on line 925
Notice: tk_ai cookie cannot be set – headers already sent by /home/customer/www/bricktopia.online/public_html/wp-includes/pluggable.php on line 929 in /home/customer/www/bricktopia.online/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php on line 1100
Any help is appreciated. Thank you.
]]>Warning: file_get_contents(/home/customer/www/seoinjector.me/public_html/wp-content/plugins/admin-site-enhancements/admin-site-enhancements.php): failed to open stream: No such file or directory in /home/customer/www/seoinjector.me/public_html/wp-includes/functions.php on line 6805
Warning: Cannot modify header information – headers already sent by (output started at /home/customer/www/seoinjector.me/public_html/wp-includes/functions.php:6805) in?/home/customer/www/seoinjector.me/public_html/wp-includes/pluggable.php?on line?1435
I went to my file manager and have found the lines of code where the issues are but I’m not quite exactly sure on what to do next.
]]>Warning: Array to string conversion in /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php on line 2292
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php:2292) in /home/httpd/vhosts/domain/httpdocs/wp-admin/includes/misc.php on line 1431
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php:2292) in /home/httpd/vhosts/domain/httpdocs/wp-includes/functions.php on line 6896
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php:2292) in /home/httpd/vhosts/domain/httpdocs/wp-admin/admin-header.php on line 9
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php:2292) in /home/httpd/vhosts/domain/httpdocs/wp-includes/option.php on line 1156
Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/domain/httpdocs/wp-includes/pluggable.php:2292) in /home/httpd/vhosts/domain/httpdocs/wp-includes/option.php on line 1157
See also this report by @rentyl: https://www.ads-software.com/support/topic/warning-array-to-string-conversion-in-pluggable-php/
WordPress 6.2
PHP 8.0
Fatal error: Uncaught Error: Call to undefined function wp_sanitize_redirect() in /home2/globgbsg/prixpertglobal.in/wp-includes/pluggable.php:1546 Stack trace: #0 /home2/globgbsg/prixpertglobal.in/wp-includes/functions.php(1959): wp_validate_redirect('https://www.pri…', false) #1 /home2/globgbsg/prixpertglobal.in/wp-content/plugins/elementor/app/app.php(88): wp_get_referer() #2 /home2/globgbsg/prixpertglobal.in/wp-content/plugins/elementor/core/base/base-object.php(142): Elementor\App\App->get_init_settings() #3 /home2/globgbsg/prixpertglobal.in/wp-content/plugins/elementor/core/base/base-object.php(57): Elementor\Core\Base\Base_Object->ensure_settings() #4 /home2/globgbsg/prixpertglobal.in/wp-content/plugins/elementor-pro/core/app/app.php(35): Elementor\Core\Base\Base_Object->set_settings('menu_url', 'https://www.pri…') #5 /home2/globgbsg/prixpertglobal.in/wp-includes/class-wp-hook.php(308): ElementorPro\Core\App\App->set_menu_url('') #6 /home2/globgbsg/prixpertglobal.in/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /home2/globgbsg/prixpertglobal.in/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /home2/globgbsg/prixpertglobal.in/wp-content/plugins/elementor/includes/plugin.php(652): do_action('elementor/init') #9 /home2/globgbsg/prixpertglobal.in/wp-includes/class-wp-hook.php(308): Elementor\Plugin->init('') #10 /home2/globgbsg/prixpertglobal.in/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #11 /home2/globgbsg/prixpertglobal.in/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /home2/globgbsg/prixpertglobal.in/wp-settings.php(617): do_action('init') #13 /home2/globgbsg/prixpertglobal.in/wp-config.php(102): require_once('/home2/globgbsg…') #14 /home2/globgbsg/prixpertglobal.in/wp-load.php(50): require_once('/home2/globgbsg…') #15 /home2/globgbsg/prixpertglobal.in/wp-admin/admin.php(34): require_once('/home2/globgbsg…') #16 /home2/globgbsg/prixpertglobal.in/wp-admin/index.php(10): require_once('/home2/globgbsg…') #17 {main} thrown in /home2/globgbsg/prixpertglobal.in/wp-includes/pluggable.php on line 1546
After deactivating Elementor, Website works great. please help me to get out of this
]]>2022-11-19T17:33:11+00:00 CRITICAL Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, WP_Error given in ../public_html/wp-includes/pluggable.php:1436
Stack trace:
#0 public_html/wp-includes/pluggable.php(1436): str_replace()
#1 public_html/wp-includes/pluggable.php(1512): wp_sanitize_redirect()
#2 public_html/wp-content/plugins/events-manager/classes/em-permalinks.php(80): wp_safe_redirect()
#3 public_html/wp-includes/class-wp-hook.php(308): EM_Permalinks::redirection()
#4 public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /public_html/wp-includes/plugin.php(565): WP_Hook->do_action()
#6 /public_html/wp-includes/class-wp-query.php(1127): do_action_ref_array()
#7 /wp-includes/class-wp-query.php(1820): WP_Query->parse_query()
#8 /public_html/wp-includes/class-wp-query.php(3749): WP_Query->get_posts()
#9 /public_html/wp-includes/class-wp.php(663): WP_Query->query()
#10 /public_html/wp-includes/class-wp.php(783): WP->query_posts()
#11 /public_html/wp-includes/functions.php(1332): WP->main()
#12 /public_html/wp-blog-header.php(16): wp()
#13 /public_html/index.php(17): require('/home/651305.cl...')
#14 {main}
thrown in /public_html/wp-includes/pluggable.php on line 1436
I can view events…so not sure if this is causing any issues. I came across it when I was trying to track down the source of some db connection errors that seem to frequently pop up recently on my site. Any conern about this?
Thanks
I have a problem with this plugin, that seems to be messing with my system. I can’t log into my account anymore, receiving only this:
Warning: Use of undefined constant SECURE_AUTH_COOKIE – assumed ‘SECURE_AUTH_COOKIE’ (this will throw an Error in a future version of PHP) in /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php on line 923
Warning: session_start(): Cannot start session when headers already sent in /www/htdocs/w01253c6/wordpress/wp-content/plugins/visual-products-configurator-for-woocommerce/admin/class-vpc-admin.php on line 125
I went to my FTP and deleted the plugin folder. Still, I am having trouble not being able to log in anymore. Now all I get is the following:
Warning: Use of undefined constant SECURE_AUTH_COOKIE - assumed 'SECURE_AUTH_COOKIE' (this will throw an Error in a future version of PHP) in /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php on line 923
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php:923) in /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php on line 1416
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php:923) in /www/htdocs/w01253c6/wordpress/wp-includes/pluggable.php on line 1419
So thinking it might be the pluggable.php file, I went and replaced it with the file from my wordpress download (shouldn’t be messed up).
Does anyone have any thoughts? I host 3 websites on the account, one is down completely, the others still accessible to view, but not pretty.
I really don’t have more ideas.
Any thoughts anyone?
Much appreciated!
]]>But basically, we have pinpointed the plugin which is the source of the issue. It is a plugin for a company called Pargo https://www.ads-software.com/plugins/pargo/ upon inspection, I see they have this line of code, I did a gripping search and I found that there is no mention of wp_mail in the plugin, nor are there any functions which could have conflicting internal names. What I did find though is they have the following line of code
require_once ABSPATH . '/wp-includes/pluggable.php';
To me, this seems like the issue, as wp_mail is declared inside pluggable.php. I am trying to figure out why its a problem, is your guys plugin making use of pluggable.php the same way and maybe its causing conflict? I will be monitoring the thread if you guys have any suggestions.
]]>I got with the WP Version 5.8.2 the following error if I go to Admin Panel and want to view all appointment. Do you have any suggestions how I can fix it?
I know it’s not official compatible…
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/***/****/wp-admin/includes/template.php:2532) in /www/htdocs/***/****/wp-includes/pluggable.php on line 1340
Warning: Cannot modify header information – headers already sent by (output started at /www/htdocs/***/****/wp-admin/includes/template.php:2532) in /www/htdocs/***/***/wp-includes/pluggable.php on line 1343
Thanks!
]]>I then removed the WP Cloudflare Super Cache plugin (the last I updated before the error) and pluggable issue was gone. I put back socialsnap and no further issues.
The issue with pluggable.php is therefore related to WP Cloudflare Super Cache.
Thanks for looking into this.
]]>