• Resolved KristenSRTS

    (@kristensrts)


    I was running Portfolio Press 2.4 and only just now updated to 2.7, so I’m getting the “You can safely remove the Options Framework plugin from your site” message. The problem is that if I deactivate the Options Framework, I get a black bar at the top of the page and then a blank screen.

    I’m using a child theme, which I think is part of the problem. I’m just not sure where in the theme the change was made that creates these issues.

    The files that I’ve copied and customized are the full-width-page template, content.php, footer.php, header.php (which I deactivated for now), page.php, single-portfolio.php, and the stylesheet. The website is https://www.swaffordfineartphotography.com.

    Could you point me in the right direction to get this fixed so I can remove that plugin and just have the option of using the Customizer?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Devin Price

    (@downstairsdev)

    Hi. Yes, you can set WP_DEBUG to true in wp-config.php to see what the error is.

    My guess is that you are using the function of_get_option in one of the child theme files. This should be replaced with portfoliopress_get_option.

    I’ve got the same problem. I have changed of_get_option to portfoliopress_get_option in my child theme files but it made no difference.

    I set WP_DEBUG to true in wp-config.php but that didn’t produce anything. I’m not sure where I’m supposed to be looking though.

    I also tried deactivating the other plugins to no avail.

    My site is https://gillianpearce.com

    Any suggestions?

    Thanks!

    Theme Author Devin Price

    (@downstairsdev)

    There should be some sort of error message if you have WP_DEBUG on but the site isn’t loading. Try viewing the source on the home page and see if you can find an error in there. The message is likely something like “function X does not exist”.

    i can’t see any error messages but the page code just ends abruptly in the source code when options framework is deactivated.

    This is the area of the page where it stops. On the working page there is:

    <body class=”home blog logged-in admin-bar no-customize-support layout-2cr”>
    <div id=”wrapper”>
    <header id=”branding”>
    <div class=”col-width”>
    <hgroup id=”logo”>
    <h1 id=”site-title”>
    Gillian Pearce ~ Following the Unfolding Path

    </h1>
    <h2 id=”site-description”>Coaching, Painting and other Shenaningans</h2>
    </hgroup>

    <!–<nav id=”navigation”>
    <h3 class=”menu-toggle”>Main Menu</h3>
    <div class=”skip-link screen-reader-text”>Skip to content</div>

    The version with the plugin deactivated ends immediately after: rel=”home”> it’s just blank after that. No more source code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deactivating Options Framework breaks site’ is closed to new replies.