• Resolved JS Morisset

    (@jsmoriss)


    You might already be aware of this, but I’m getting this PHP notice message when editing a page:

    PHP Notice: Undefined index: pta in /var/www/wpadm/wordpress/wp-content/plugins/autodescription/inc/classes/generate-url.class.php on line 209

    js.

Viewing 1 replies (of 1 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Hi JS!

    Thanks for notifying me!

    Method get_canonical_url() should not be called with its first parameter populated. I was about to explain why, but I think we can retire its companion method create_canonical_url() that should’ve been called instead. Please keep using get_canonical_url() for it’s future-compatible 🙂 — no change is needed from your side.

    You also helped me find a bug (blog page pagination’s canonical URL doesn’t work), so an update will be out soon that addresses both issues.

Viewing 1 replies (of 1 total)

The topic ‘PHP Notice: Undefined index: pta’ is closed to new replies.