• Resolved smarty004

    (@smarty004)


    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-name

    I 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
    Shelley

    • This topic was modified 4 years ago by smarty004.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • dariusraia

    (@dariusraia)

    Hello @smarty004,

    Thank you for reaching out to us.

    The issue is the link itself to the Client-Portal page.

    The link to the page can be found if you go (from backend) to your Client Portal page (where you have the shorcode inserted) –> Permaliks –>under view page.

    For explample, for my site https://dariustestfinal.supserv.cozmoslabs.com, the link is:

    https://dariustestfinal.supserv.cozmoslabs.com/client-portal/

    Don’t worry about each ones private page, CP will handle this.

    Let me know how it works.

    With regards,

    Thread Starter smarty004

    (@smarty004)

    Hi @dariusraia,

    Thanks for your reply.
    I checked the permalink on the Client-Portal page which is https://eitservicesdev.wpengine.com/?page_id=163
    I’ve inserted this as the redirect URL on the login page. When I test logging in I am redirected to the client portal page which contains the short code [client-portal] but this does not go to the user private-page?
    Am I missing something?

    kind regards
    Shelley

    Thread Starter smarty004

    (@smarty004)

    Hi @dariusraia
    Can you provide any further help with the client-portal shortcode not redirecting to a private page?

    kind regards
    Shelley

    dariusraia

    (@dariusraia)

    Hello @smarty004,

    Would it be possible to open a new support ticket on our website?

    https://www.cozmoslabs.com/support/open-ticket/

    It looks like I may need to do a further investigation on your website and we are not allowed to do so here.

    Thank you!

    Kind regards,

    What was determined to be the problem? What is the fix? I am using the login with redirect short code: [wppb-login redirect_url=”https://www.mydomain.com/page”%5D but upon login, that doesn’t redirect to the private page (per username). It simply arrives at a page telling me I’m logged in. I’ve tried altering the shortcode, but nothing seems to work. How is the logged-in user supposed to access their page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP error: Trying to get property ‘post_parent’ of non-object’ is closed to new replies.