Hi @jahrat
Thanks for reaching out, I’m sorry to hear about the repeated errors.
It would definitely be helpful to see that full stack trace. If you’re not comfortable sharing here on the public forum, you do have a premium BoldGrid account, so you can contact us privately via your BoldGrid Central Account: https://www.boldgrid.com/central/account/help/premium or you can send it to us at support (at) boldgrid.com
The error you mentioned indicates that something unusual is happening with the wp-query on your pages, and we haven’t included logic to catch that problem, so there is definitely some update we should make to avoid this error. Here’s a potential solution you can try, if you’re comfortable making a minor change to the plugin code. On line 169 of that file, /boldgrid-easy-seo/includes/class-boldgrid-seo-util.php
it currently reads:
if ( $query->is_404 ) {
You can change that to:
if ( ( $query->is_404 ) || ( ! isset( $query->posts ) ) ) {
And that should prevent the error. That being said, I can’t tell what might have caused such an unusual error without knowing more details. If you can send over that stack trace, and if possible a list of your active plugins and theme, and any steps you take to produce the error, we’d be very grateful!
-
This reply was modified 2 years, 6 months ago by Jesse Owens. Reason: update code fix