Stephen Meehan Student

  • Member since Jan 29th 2019
  • Last Activity:
Posts
85
Likes Received
24
Points
624
Profile Hits
393
  • Stephen Meehan

    Like (Post)
    Does the incorrect value appear everywhere? Or just when you are outputting a specific region? If the latter, are you outputting the region with perch_content() or perch_content_custom()?
  • Stephen Meehan

    Replied to the thread perch_page_path not right?.
    Post
    (Quote from hus_hmd)


    Aha!


    I was using:
    (Code, 2 lines)

    Changing it to

    (Code, 2 lines)

    fixed the problem.

    That was it. Thanks so much.
  • Stephen Meehan

    Replied to the thread perch_page_path not right?.
    Post
    Debug is reporting the page as

    Matched page: /transport/sustainable-transport/test-page

    I can't see why perch_page_path doesn't match that?
  • Stephen Meehan

    Replied to the thread perch_page_path not right?.
    Post
    The forum won't let me post the debug message, as it's over 10,000 characters... I've attached it as a .txt file.
  • Stephen Meehan

    Replied to the thread perch_page_path not right?.
    Post
    Hi,

    So, I was running PHP 7.4.2 locally, and debug output this message...

    (Code, 7 lines)


    The live site isn't running that version of PHP, so I've changed it to PHP 7.3.9. That message/error is gone.

    But I'm still seeing the wrong perch_page_path
  • Stephen Meehan

    Posted the thread perch_page_path not right?.
    Thread
    Hi,

    Hopefully a quick one...

    perch:showall is displaying perch_page_path as /perch/core/apps/content/edit/index.php when it should be... well a page path. This is on a nested page. It's making any perch:ifbased on the page path break.

    Anyone come…