PHP error: Trying to get property ‘post_parent’ of non-object
-
Hi there,
I have installed and setup the Profile Builder Plugin but am having some issues redirecting a logged in client to their private page.
When they login this PHP error appears;Notice: Trying to get property ‘post_parent’ of non-object in /nas/content/live/eitservicesdev/wp-content/themes/construction-field/acmethemes/library/breadcrumbs/breadcrumbs.php on line 50
I am using a child theme named ‘construction-fieldchildtheme’, do I need to edit breadcrumbs.php (or other file?) to include the child theme information?
I have included a shortcode on the Login page to redirect clients, which is redirecting, however it does not take them to their private page. This is the format of my redirect URL – [wppb-login redirect_url=”https://mywebsite.mydomain.com/?private-page”%5D
How do I associate this with the user information to show their private page? e.g. https://mywebsite.mydomain.com/?private-page=user-nameI switched to the WordPress Twenty Seventeen theme to troubleshoot the issue and dont get the PHP error, but am still not landing on the clients private page.
The page has the message ‘Nothing found. Ready to publish your first post?’Sorry if these questions seem obvious, any help woudl be apprectiated!
thank you
ShelleyThe page I need help with: [log in to see the link]
- The topic ‘PHP error: Trying to get property ‘post_parent’ of non-object’ is closed to new replies.