Recent update causing post_ID errors?
-
Metaslider Version 3.23.3
MetaSlider – Pro Add-on Pack Version 2.18.3Last week our site began to have serious layout issues, and we also noticed the error message on the page linked above. Error logs show a similar issue,
PHP Notice: Undefined variable: _post in /var/www/html/wordpress/wp-content/themes/grady/template-parts/degree-faculty.php on line 52
line 52 is
$post_thumb = get_the_post_thumbnail_url( $_post->ID, 'full' );
When I deactivated Metaslider and the Add-on Pack, the layout issue resolved itself but the error message on the story link stayed.
Could the recent Metaslider code update be causing this? The only other plugin we’ve had update in the last week was Advanced Custom Fields, and those devs do not think they’re causing our issues.
Our theme was built by a local company that went out of business during the pandemic, so I’m investigating this rather blindly. Thanks for any help you can provide!
-don
The page I need help with: [log in to see the link]
- The topic ‘Recent update causing post_ID errors?’ is closed to new replies.