• Resolved parms

    (@parms)


    Hi WP Community,

    I’m having some issues on the backend of my site.

    Every time I try to perform an action such as resave permalinks, activate a plugin or update its settings, I get a blank screen with options.php in the URL.

    This issue started today or at least I noticed it today.

    The actions I performed today:
    – I activated .htaccess 301 redirects from inside Really Simple SSL
    – deactivated redirects from Rank Math

    Then I cleared the cache, tried to resave permalinks just to refresh the htaccess file and I got the blank screen with the url https://parmsyoga.com/wp-admin/options.php.

    So I went back turned off the .htaccess 301 redirects, hit save settings, got the white screen with the same url.

    I checked my htaccess file from the file manager, it doesn’t have the SSL code in it..

    I cleared the cache, reactivated a plugin — froze at a longer URL but still containing options in it.

    Then I reloaded my admin dashboard, saw that the plug in was active and went in to adjust the settings — tried to save, got served this white screen again.

    I just went back in to take a look at the plugin settings and the settings are updated with the most recent changes I made.

    Went back in to resave permalinks and I still get the white screen with this URL this time: https://parmsyoga.com/wp-admin/options-permalink.php.

    I did make a manual change to my .htaccess file recently:
    I added: Options -Indexes at the end of the file and left a blank line after that.

    All in all, I have no idea what’s going on.

    Please help!
    Parm

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

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter parms

    (@parms)

    And this is the style.css file

    /* 
        Theme Name: Astra Child 
        Theme URL: https://parmsyoga.com
        Description: Astra Child 
        Theme Author: Parm
        Author URL: https://parmsyoga.com
        Template: astra 
        Version: 1.0.0 
        Text Domain: astra-child 
        */

    Usually the Warning: Cannot modify header means something is being a little verbose or there a PHP error occurring before the header gets a chance to load. I’ve had this error before it usually something small and takes time to find. Did you make any changes to header.php ?

    Thread Starter parms

    (@parms)

    Hi @mrtom414,

    So I changed my theme back to Astra, from the child theme I made, and that seems to have solved the problem. I’ve turned off debug mode.

    However I do still need to create a child theme. These are the instructions I used the first time around: https://www.hostinger.com/tutorials/how-to-create-wordpress-child-theme… I’m not sure why they caused all of these issues..

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    remove the closing ?> as there’s probably one or more trailing characters that get output as blanks.

    Here is the wordpress developers guild for creating a child theme. https://developer.www.ads-software.com/themes/advanced-topics/child-themes/ I usually just cut and paste the example and change the parts I need to. They’re also a code snippet for enqueuing the style sheet.

    add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles' );
    function my_theme_enqueue_styles() {
        wp_enqueue_style( 'child-style', get_stylesheet_uri(),
            array( 'parenthandle' ), 
            wp_get_theme()->get('Version') // this only works if you have Version in the style header
        );
    }
    Thread Starter parms

    (@parms)

    @mrtom414, @sterndata

    Thank you both so much for your help! @sterndata, removing the ?> didn’t work.

    I found a specific Astra Child theme generator and just plugged in their code. It seems to be working so far ??

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Backend Blank Pages – Issues with options.php?’ is closed to new replies.