Warning: Attempt to assign property of non-object
-
After my update to 4.8, I am getting this error on my index page. Just using the shortcode [a-z-listing post-type=”post”]… everything else works fine, but WP throws this error:
Warning: Attempt to assign property of non-object in /home/content/13/11455113/html/triguybri.com/wp-content/plugins/a-z-listing/partials/class-a-z-listing.php on line 111
I do have this added to my funtctions.php, but removing it does not change anything:
// Add numbers for A-Z Listing
add_filter( ‘a_z_listing_alphabet’, ‘your_alphabet_filter’ );function your_alphabet_filter( $alphabet ) {
return ‘#1234567890,’ . $alphabet;
}Thanks!!!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Warning: Attempt to assign property of non-object’ is closed to new replies.