Skip to content

Ruins old API access #45

Description

@natanavra

Old API becomes unusable because of this plugin.

Error received: 
<div id="current-theme" class="has-screenshot">
    <br />
    <b>Fatal error</b>: Uncaught Error: Call to a member function get_page_permastruct() on null in /var/www/html/wp/wp-includes/link-template.php:357
    Stack trace: #0 /var/www/html/wp/wp-includes/link-template.php(320): _get_page_link(Object(WP_Post), false, false) #1
    /var/www/html/wp/wp-includes/link-template.php(144): get_page_link(Object(WP_Post), false, false) #2 /var/www/html/wp/wp-content/plugins/woocommerce/includes/wc-page-functions.php(72):
    get_permalink(Object(WP_Post)) #3 /var/www/html/wp/wp-content/plugins/woocommerce/includes/wc-account-functions.php(30):
    wc_get_page_permalink('myaccount') #4 /var/www/html/wp/wp-includes/class-wp-hook.php(300): wc_lostpassword_url('https://sweet21...')

Activity

  1. added 2 commits that reference this issue on Aug 9, 2017
  2. chrishaff commented on Sep 12, 2018

    @chrishaff

    Dumb question: What's the old API?

  3. natanavra commented on Sep 20, 2018

    @natanavra
    Author

    Sorry, this thing is wayyy to old and I don't remember.
    Apparently I didn't know how to write issues back then :-D

  4. added a commit that references this issue on Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions