Jump to content

PagePathHistory: problem with getPathInfo()


lpa
 Share

Recommended Posts

I try to get info for an old url-path found in PagePathHistory. $p->getPathInfo() does not return anything but the basic empty reply. What am I doing wrong?

$p = $modules->get('PagePathHistory');
$p->getPathInfo("/en/about/child-page-example/")
array (10)
'id' => 0
'path' => '/en/about/child-page-example'
'language_id' => 0
'templates_id' => 0
'parent_id' => 0
'created' => ''
'status' => 0
'name' => ''
'matchType' => ''
'urlSegmentStr' => ''

And that page is found in the database page_path_history table:

INSERT INTO `page_path_history` (`path`, `pages_id`, `created`, `language_id`)
VALUES
    ('/en/about/child-page-example', 1002, '2024-04-13 16:31:53', 0);

The module PagePathHistory is version 0.0.8 and PW version 3.0.237.
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...