juancarbonel
Forum Replies Created
-
Forum: Plugins
In reply to: [Display Widgets] plugin fatal error since 4.2.1 updateWith this it should work properly,
(593) /*$saved_details = get_transient( $this->transient_name );
if ( $saved_details ) {
foreach ( $saved_details as $k => $d ) {
if ( empty($this->{$k}) ) {
$this->{$k} = $d;
}unset($k);
unset($d);
}
}*/(605) //if ( empty($this->pages) ) {
$this->pages = get_posts( array(
‘post_type’ => ‘page’, ‘post_status’ => ‘publish’,
‘numberposts’ => -1, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’,
‘fields’ => array(‘ID’, ‘name’),
));
//}Forum: Plugins
In reply to: [Display Widgets] plugin fatal error since 4.2.1 updateI have updated the post, nice to know that it help! Regards!
Juan
Forum: Plugins
In reply to: [Display Widgets] plugin fatal error since 4.2.1 updateHi, you can find a work arround here!
http://www.juancarbonel.com/plugin-alternative-fix-display-widgets/Forum: Plugins
In reply to: [Display Widgets] Was working great until WordPress updateYou can read it full here!
http://www.juancarbonel.com/plugin-alternative-fix-display-widgets/Hi guys, if you are into programming.. you can open the plugin file and comment the following sentences:
(593) //$saved_details = get_transient( $this->transient_name );
(605) //if ( empty($this->pages) ) {
$this->pages = get_posts( array(
‘post_type’ => ‘page’, ‘post_status’ => ‘publish’,
‘numberposts’ => -1, ‘orderby’ => ‘title’, ‘order’ => ‘ASC’,
‘fields’ => array(‘ID’, ‘name’),
));
//}(642) /*set_transient( $this->transient_name, array(
‘pages’ => $this->pages,
‘cats’ => $this->cats,
‘cposts’ => $this->cposts,
‘taxes’ => $this->taxes,
), 60*60*24*7 ); */Hope it help