• So I’ve got a site called returnofthemoonwalker dot com. And ever since the update to WordPress 4.6 I’ve been getting a 500 error whenever the site tries to load Dream Theme’s Slash WP theme. I’ve tested all the plugins and all the other themes that come with WordPress and it’s definitely a problem with that theme. The only problem is I have absolutely no idea what’s causing it.

    Any help would be greatly appreciated as I have two websites that are currently down since the 4.6 update…

Viewing 14 replies - 1 through 14 (of 14 total)
  • Hello,

    Can we discuss more on g-mail source?

    Madvin

    Thread Starter rainless

    (@rainless)

    Absolutely. I’ve actually figured out the problem though:

    post-thumbnail-template.php was calling:

    function the_post_thumbnail_caption( $post = null ) { echo apply_filters( 'the_post_thumbnail_caption', get_the_post_thumbnail_caption( $post ) ); }

    …which I commented out.

    I also updated the Options Framework since it was an old version from 2012.

    From there I just followed the error messages and modified functions.php by commenting out Line 19 (which was calling the options framework uri which had already been called.)

    Now it works.

    I couldn’t even see an error message before I updated Options Framework. It was definitely pot-thumbnail-template.php from WordPress 4.6 that was causing the site to crash though…

    okay

    Thread Starter rainless

    (@rainless)

    post-thumbnail-template.php …sorry.

    I used Slash 2.2 with WP 4.5.1. Then I wanted to update WP to 4.7.1 and I got a white sreen. Step by step I updated WP and the update to 4.6 produces this error.

    When I switch to another theme before I update, there is no problem. When I then use Slash, I get the white screen and must go to a backup. What’s false?

    • This reply was modified 8 years, 2 months ago by Trollzack.
    Thread Starter rainless

    (@rainless)

    You have to first update the WordPress Options Framework (there’s a directory for it called “Framework” I think) by just Googling it and downloading the latest version (it’s the framework that the Theme is built on). Then you just copy over or replace the version that’s in the theme with the new version.

    Then you’ll start to see error messages. You’ll have to modify two files: functions.php and post-thumbnail-template.php

    Wordpress 4.6 included some lines in post-thumbnail-template.php that created conflicts with the theme’s functions.php. That’s why the theme crashes.

    Also, the version of the Options Framework that’s in the latest version of the theme is from 2012 which is already 5 years old and needed to be updated anyway. They could fix this theme if they wanted to… but I don’t think they are supporting or selling it anymore.

    Thread Starter rainless

    (@rainless)

    Here’s the Options Framework. https://www.ads-software.com/plugins/options-framework/

    Just extract that and find out where the Framework directory is inside of Slash and replace that one with the latest version. Then repair any errors that come up.

    Thanks for the quick answer! I installed the new Framework, but after update to WP 4.1.7 I got a white screen again. Where can I see the error messages?

    Trollzack, have you had issues with something called “dt-unify-url()?” I too can’t use Slash in Live Preview mode because lots of dt functions (?) are crashing. Also dt-options -url() doesn’t work and I can’t find where they’re defined.

    • This reply was modified 8 years, 1 month ago by MBakare.
    Thread Starter rainless

    (@rainless)

    Try deleting post-options-thumbnail.php (I think it’s in the main directory) and see if that helps. I’ve still got the theme up and running fine in WordPress 4.7.2.

    Nope :(. That just makes my whole page crash. It’s required.

    Thread Starter rainless

    (@rainless)

    Alllright… In that case update the options framework, remove line 19 from fuctions.php, and remove all references to the options framework in post-options-thumbnail.php

    Thanks, I will test it.

    awar85

    (@awar85)

    if you see the debug output can find the solution. For me work.
    In the file 11_other.php comment this function:
    // featured image caption function!!!
    because this function generate an error.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[SLASH] WP theme broken in WordPress 4.6’ is closed to new replies.