• WordPress.com
  • Forums
  • Plans & Pricing
  • Log In
  • Get Started
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Course Maker
  • Enterprise
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress
Get Started
  • Sign Up
  • Log In
About
  • Plans & Pricing
Products
  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Newsletter
  • Professional Email
  • Website Design Services
  • Commerce
  • Course Maker
  • Enterprise
Features
  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps
Resources
  • WordPress.com Support
  • News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Popular Topics
  • Daily Webinars
  • Learn WordPress

WordPress.com forums

Get help with WordPress.com, the free blogging platform, and the WordPress.com apps.

en WordPress.com Forums Translations WordPress Studio updated Login fails because of PHP error

WordPress Studio updated Login fails because of PHP error

  • 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)

  • 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.

  • 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

  • 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.

  • 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.

  • guteluise · Member · Sep 10, 2024 at 4:24 pm
    • Copy link Copy link

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

  • 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.

  • 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)

Reply to WordPress Studio updated Login fails because of PHP error
Log in or get started with WordPress.com to reply Login Sign Up

Tags

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

About this topic

  • In: Translations
  • 4 participants
  • 7 replies
  • Last activity 2 weeks
  • Latest reply from guteluise
Advertisment

WordPress.com

WordPress.com WordPress.com Logo

Products

  • WordPress Hosting
  • Domain Names
  • Website Builder
  • Create a Blog
  • Professional Email
  • P2: WordPress for Teams
  • Website Design Services
  • Enterprise Solutions

Features

  • Overview
  • WordPress Themes
  • WordPress Plugins
  • WordPress Patterns
  • Google Apps

Resources

  • WordPress.com Support
  • WordPress Forums
  • WordPress News
  • Website Building Tips
  • Business Name Generator
  • Logo Maker
  • Discover New Posts
  • Popular Tags
  • Blog Search
  • Daily Webinars
  • Learn WordPress
  • Developer Resources

Company

  • About
  • Partners
  • Press
  • Terms of Service
  • Privacy Policy
  • Do Not Sell or Share My Personal Information
  • Privacy Notice for California Users

Language

Mobile Apps

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

Social Media

  • WordPress.com on Twitter Twitter Icon
  • WordPress.com on Facebook Facebook Icon
  • WordPress.com on Instagram Instagram Icon
  • WordPress.com on YouTube Youtube Icon
An Automattic ruckus
Work With Us
    • WordPress.com Forums
    • Customize
    • Sign up
    • Log in
    • Copy shortlink
    • Report this content
    • Manage subscriptions