Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
- This topic has 2 replies, 2 voices, and was last updated 3 years, 5 months ago by Richard N. Rhodes.
12/28/2018 at 12:07 pm #480328Richard R.Guest
Hello, I have two websites running the Hestia Pro Theme and the Connections Biz Directory Plugin. I recently updated the theme on one site, but not the other and I’m not getting this error message within the menu navigation:
Object of class WP_Post could not be converted to int in
I’m not getting this error on the theme running version 1.1.86 (http://work-now.org_, only on the recently updated one running 2.0.19. I’ve currently deactivated the plugin for now. Any thoughts or ideas as to what might be going on? Both sites are currently running WordPress 5.0.2 and the latest PHP settings on the server side.
Absolutely love this plugin:-)
Thanks in advance for your help or consideration.12/28/2018 at 12:35 pm #480334Steven ZahmKeymaster
Looks like a bug in the updated theme. This code in Connections runs when the core WP
the_titlefilter is run. WordPress passes two attributes, the post/page title and the post/page ID.
Judging from the error the theme is applying the core WP
the_titlefilter. That is fine, but they must pass the exact same attributes so other plugins which hook into the core WP filter are not broken.
My best guess is that the theme is passing the entire WP_Post object instead of passing just the post/page ID. If my guess is correct, only the theme developers can correct this issue.
A workaround to avoid the error…
Activate Connections and then navigate to the Connections : Settings admin page and click the SEO tab. Disabling the Page Title option should prevent this error from occurring because that bit of code is no longer run.
Hope this helps, let me know.01/05/2019 at 12:30 am #480816Richard N. RhodesGuest
Thank you so much.
You cannot reply to this support topic. Please open your own support topic.