Sermon-Manager
Sermon-Manager copied to clipboard
Attempt to read property "ID" on null
Expected Behaviour
No Warning
Actual Behaviour
Warning is displayed:
Warning: Attempt to read property "ID" on null in /homepages/10/.../wp-content/plugins/sermon-manager-for-wordpress/includes/sm-template-functions.php on line 234
Steps To Reproduce
- Select Menu
- Save Menu
Platform
**Sermon Manager Version: Version 2.17.1 **
WordPress Version: 6.1.1
PHP Version: 8.0.28
Had the same issue, was blocking non-sermon posts from being updated. bb536e1 fixed it.