• Hi,

    I have a client that I have been asked to update their WP installation. I didn’t develop their site. When I got into the site, they had WP 3.5 so I upgraded that to 3.8.1. They also use a child theme of Pagelines framework, and I updated Pagelines (but not the child theme). Then they have 15 plugins, 7 of which needed to be updated. I successfully updated the WP core, the theme, and all of the plugins except yours.

    When I update your plugin, all the main navigation background gets replaced with the default image set by your plugin. Really weird.

    URL is: https://sjemploymentsolutions.com but it looks fine right now because I downgraded back to the 0.9 version of your plugin since it was causing this problem.

    https://www.ads-software.com/plugins/default-featured-image/

Viewing 1 replies (of 1 total)
  • Plugin Author Jan-Willem

    (@janwoostendorp)

    Hi,

    sorry to hear you are having problems. The only reason I see is that somewhere a featured image is called. From 1.0 the function has_post_thumbnail will trigger true if an default featured image can be set. Somewhere in the themehas_post_thumbnail is called. Which isn’t triggered in 0.9 but is in 1.+

    I suggest you search the templates for has_post_thumbnail().

    After updating, for debugging you could try pasting this in your functions.php:

    // debugging only
    function dfi_debugging ( $dfi_id, $post_id ) {
    
      var_dump( get_post($post_id) ); // will dump the post that triggers the DFI
      return $dfi_id; // the original featured image id
    }
    add_filter( 'dfi_thumbnail_id', 'dfi_debuggind', 10 , 2 );

    Let me know how it goes

Viewing 1 replies (of 1 total)
  • The topic ‘problem updating plugin from 0.9 to 1.3’ is closed to new replies.