Jump to content

Archived

This topic is now archived and is closed to further replies.

dario

Deactivating SingleBits?

Recommended Posts

dario

Whenever I deactivate SingleBits via the plugin screen, I lose all front and back end access (white screen of death).

I try to delete the relevant tables in the db but I'm probably not finding all of them as I still get a white screen.

 

My only solution so far is to restore the whole site and db from a backup.

 

Just wondering, before I go through the process again, should I remove all instances of SingleBits from the front end before I deactivate the plugin?

 

FWIW, I'm not displeased with the section. I'm just using a developed site as a template for its subdomain.

As such, I want a lot of the same settings/design/content, but not all. I've cloned and am selectively deleting what should not belong.

Share this post


Link to post
Share on other sites
dario

So I went ahead and removed all instances of the section, and deleted all pages where the section was.

Same problem happens when I try to deactivate the plugin.

White screens on the front and back ends.

Share this post


Link to post
Share on other sites
ellenmva

dario Sorry for delay getting back to you. Thats quite bizarre, not an issue I've heard before.

 

Can you turn WP_DEBUG to true in wp-onfig.php file for your site and see what error is displaying. It sounds like a plugin conflict with something in Single Bits.

 

If you have already restored, can you deactivate all plugins, then reactivate single bits and then deactivate and if everything is working okay, reactivate single bits  then reactivate your plugins one by one till you find the one that causes white screen of death.

 

Let me know your results.

 

Thanks,

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
dario

Thanks Ellen,

Yep, I'm restored.

 

I've enabled WP_DEBUG and both display and log.

Nothing shows at all, even a log file, so I may have to look a bit deeper into what I am doing.

 

No errors reported via Chrome inspect though.

 

Prior to the latest restore, I did disable all plugins except SingleBits. Things were working fine.

Then I tried to disable SingleBits and immediately got the white screen.

 

BTW, despite this and the hatom issue, I love your plugin!

Share this post


Link to post
Share on other sites
ellenmva

dario Great to hear on loving the plugin. 

 

And, I found the issue which is related to the hatom issue. Remove the lines you added to remove the hatom data or change it to 

// $instance = elsueSingleBitsPlugin::this();

// remove_filter('the_content',  array($instance , 'add_mod_hatom_data'));

When you deactivate the plugin it's looking for that $instance.

 

Let me know if solves white screen problem, then I'll get to fixing hatom!

 

Ellen


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites
dario

Thanks Ellen,

Removing those lines solved the white screen issue.

Share this post


Link to post
Share on other sites
ellenmva

dario Okay, to make it so you don't get a white screen of death, replace the old hatom code with this:

if(class_exists('elsueSingleBitsPlugin')) {
$instance = elsueSingleBitsPlugin::this();
remove_filter('the_content', array($instance , 'add_mod_hatom_data'));
}

It needed to check and see if the class for Single Bits exist and if it does, executes the code, if not the code is ignored.


Ellen Moore

Pagelines Developer

www.elsue.com www.betterdms.com

Share this post


Link to post
Share on other sites

  • Similar Content

    • leftcoastmichael
      By leftcoastmichael+
      I had DMS installed before.  I had a nifty design for my blog page that used the SingleBits extension to place the Feature Photo of the most recent post as a full-width banner across the top of the Post page. Click on any blog to view it, and the blog post also shows its Feature Photo as a full-width banner across the top.
      Then I upgraded to Platform 5, and it all disappeared.  Help?
    • JudithKlinger
      By JudithKlinger+
      Help! I urgently need to remove the "This post was last edited..." that is now appearing anywhere that I've used Single Bits for a post. 
      James Giroux kindly provided this reply...but it does nothing. HELP! 
      This is from the Single Bits section by Ellen.  The code to add to the functions.php to remove this is:
      if(class_exists('elsueSingleBitsPlugin')) { $instance = elsueSingleBitsPlugin::this(); remove_filter('the_content', array($instance , 'add_mod_hatom_data'), 5 ); }
    • JudithKlinger
      By JudithKlinger+
      I'm stuck in a loop. We're developing a magazine type format and having been using Single Bits Single Post as the template..fine, no problem. Looks great! 
      But, some of the articles now have either a lot of media, or multi media, so we wanted to set up another template for these posts. But, if I change the media content on one post, it 
      changes it on the others. I've tried setting up Custom Posts, but that removes the post from the wp post "categories" and then deletes the post from something like HoverNews that pulls by category. 
      So how do I have the media change for each post? I've tried setting up a separate template for each of these particular, media specific posts...but that doesn't help either because they are posts, not pages. 
      Can PM you the link as the site is not live yet. Thanks!!
    • JudithKlinger
      By JudithKlinger+
      Can anyone tell me if SingleBits works with DMS2? Nothing seems to be working with this plugin. 
      Nothing looks like the demo pages... it only displays Options>global, not Type. Frustrated! 
    • stoltz
      By stoltz+
      I want to change the text color of the post title in a specific post - How do I do that through CSS?
       
      I've downloaded a plugin which allows me to add custom CSS in specific posts, but I do not seem to get the selectors right.
       
      I am using the light-bg class on the single-bit container as well, which then includes a single-bit with the post title.
       
       
       
       
×