property of non-object error inactions.class.php on line 139
-
Trying to get property of non-object in …
/htdocs/blog/wp-content/plugins/lightbox-plus/classes/actions.class.php on line 139is the error I was getting on blank search or 404.php
it only appears if the search is empty and on the 404 page.
I commented OUT line:
137 // if ( $lightboxPlusOptions[‘fixed’] == ‘1’ ) { $lbpArrayPrimary[] = ‘fixed:’.$this->setBoolean( //$lightboxPlusOptions[‘fixed’] ); }
138 // if (!is_admin()) {
139 // $lbp_autoload = get_post_meta( $post->ID, ‘_lbp_autoload’, true );
140 // if ( $lbp_autoload == ‘1’ ) { $lbpArrayPrimary[] = ‘open:true’; }
141 // }and the error goes away…
I also tested it in the default twentytwelve theme and got the same error…
Doesn’t seem to affect the lightbox plus functions on other pages.
Any ideas??
[duplicate – please continue with https://www.ads-software.com/support/topic/actionsclassphp-on-line-139 ]
- The topic ‘property of non-object error inactions.class.php on line 139’ is closed to new replies.