• Plans & Pricing
  • Log in
  • Get started
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress 
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Get started
  • Sign up
  • Log in
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • WordPress Studio
  • Enterprise WordPress  
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • Support Center
  • WordPress News
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
Jetpack App
  • Learn more
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Search
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
Forums / Translations / WordPress Studio updated Login fails because of PHP error

WordPress Studio updated Login fails because of PHP error

  • Unknown's avatar
    guteluise · Member · Sep 8, 2024 at 8:13 pm
    • Copy link Copy link
    • Add topic to favorites Add topic to favorites

    I built the site with WordPress Studio and it worked well. Today I updated Studio. Unfortunately I can’t log anymore into the backend after updating because of several PHP errors:

    Warning: Undefined array key “REQUEST_SCHEME” in /var/www/html/wp-content/advanced-cache.php on line 27

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/advanced-cache.php:27) in /var/www/html/wp-includes/pluggable.php on line 1435

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/html/wp-content/advanced-cache.php:27) in /var/www/html/wp-includes/pluggable.php on line 1438

    I have no idea how to solve the problem. Could anyone please give me a hint?

    Best,
    Anna

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar
    staff-jeev · Staff · Sep 9, 2024 at 10:00 am
    • Copy link Copy link

    Hello Anna

    Those are PHP warnings and they won’t affect how you login to the site. PHP warnings do not affect site’s functionality or performance. It could be some other issues.

    Do you see any error while trying to login to backend? Please take a screenshot of the error and share here so we can take a look and assist with the issue.

  • Unknown's avatar
    guteluise · Member · Sep 9, 2024 at 10:40 am
    • Copy link Copy link

    Hello staff-jeev,

    Thanks for your reply. When I click on the WP admin link in Studio:

    But I just found out that I can login into the WordPress Backend from Chrome by using the link
    https://noisily-agricultural-ground.wp.build/wp-login.php
    (of course only as long as the demo website exists).
    Regards,
    Anna

  • Unknown's avatar
    ezebecke · Staff · Sep 9, 2024 at 8:01 pm
    • Copy link Copy link

    Let us know if you need help with anything else. I would also recommend checking if refreshing your browser cache where you see that error fixed the issue.

  • Unknown's avatar
    guteluise · Member · Sep 10, 2024 at 4:22 pm
    • Copy link Copy link

    Hello ezebecke,

    thanks for your reply. I need to log into the WordPress backende via Studio because the demo website will expire and the live website will still take some time. Of course I tried several times refreshing my browser cache and also tried in Chrome and Firefox.

    Unfortunately the website export doesn’t work so that I can’t “duplicate” the site with a new name.

  • Unknown's avatar
    guteluise · Member · Sep 10, 2024 at 4:24 pm
    • Copy link Copy link

    P.S.: Browser refreshing didn’nt change anything.

  • Unknown's avatar
    caimin · Staff · Sep 11, 2024 at 12:04 pm
    • Copy link Copy link

    Thanks for letting us know about this. Our developers say this is most likely related to a cache plugin. Given that’s a common type of plugin, they’re looking into ways we can prevent that error showing.

    In the meantime, they suggest editing your wp-config.php , just above this line…

    require_once ABSPATH . 'wp-settings.php';

    …to include this code snippet:

    if ( ! isset( $_SERVER['REQUEST_SCHEME'] ) ) {
    	$_SERVER['REQUEST_SCHEME'] = 'http';
    }

    A little off-topic, but if you’re thinking of hosting the site on WordPress.com, a cache plugin won’t be needed because caching is automatically included for all WordPress.com sites.

  • Unknown's avatar
    guteluise · Member · Sep 17, 2024 at 4:41 pm
    • Copy link Copy link

    Hello caimin,

    Thanks for your answer and the code snippet. I added to my wp-config.php. Unfortunately it didn’t change anything.
    Is there a possibility to remove the caching plugin? (See screenshot of wp-content folder)

  • The topic ‘WordPress Studio updated Login fails because of PHP error’ is closed to new replies.

Tags

  • .org
  • account
  • design
  • php error
  • Studio

About this topic

  • In: Translations
  • 4 participants
  • 7 replies
  • Last activity 1 year
  • Latest reply from guteluise

Couldn't find what you needed?

Contact us

Contact us

Get answers from our AI assistant, with access to 24/7 expert human support on paid plans.

Browse our guides

Browse our guides

Find step-by-step solutions to common questions in our comprehensive guides.

WordPress.com

Products
  • WordPress Hosting
  • WordPress for Agencies
  • Become an Affiliate
  • Domain Names
  • AI Website Builder
  • Website Builder
  • Create a Blog
  • Professional Email
  • Website Design Services
  • WordPress Studio
  • Enterprise WordPress
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Blog
  • Business Name Generator
  • Logo Maker
  • WordPress.com Reader
  • Accessibility
  • Remove Subscriptions
Help
  • Support Center
  • Guides
  • Courses
  • Forums
  • Contact
  • Developer Resources
Company
  • About
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users
DeutschEspañolFrançaisBahasa IndonesiaItalianoNederlandsPortuguês do BrasilSvenskaTürkçeРусскийالعربيةעִבְרִית日本語한국어简体中文繁體中文English

Mobile Apps

  • Download on the App Store
  • Get it on Google Play

Social Media

  • WordPress.com on Facebook
  • WordPress.com on X (Twitter)
  • WordPress.com on Instagram
  • WordPress.com on YouTube

Automattic

Automattic
Work With Us
    • WordPress.com Forums
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions