Support » Plugin: WordPress Meta Keywords » [Plugin: WordPress Meta Keywords] PHP Notice – page undefined constant…

  • Just a heads up, you’re passing a constant named page to register_taxinomy on line 38. Looks like you meant that as a string, so quoting it would resolve the notice and maintain functionality.

    Thanks,
    Marcus

    Error:
    Notice: Use of undefined constant page – assumed ‘page’ in wordpress\wp-content\plugins\wordpress-meta-keywords\wordpress-meta-keywords.php on line 38

    http://wordpress.org/extend/plugins/wordpress-meta-keywords/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Philipp Speck

    (@destio)

    Of course you are right. I will fix it. Thank you!

    On line 38:

    register_taxonomy('keywords', page, $args);

    Should be:

    register_taxonomy('keywords', 'page', $args);

    Easy fix. Can we get an official release for it? Thanks 🙂

    Plugin Author Philipp Speck

    (@destio)

    Yes, I will fix it! Thx.

    Edit: It was already fixed. Update your plugin, please.

    computerslayer1

    (@computerslayer1)

    I’m currently running version 1.3. I don’t see any updates available on the wordpress plugin page or on your website.

    In version 1.3, the error is still present.

    The date on the package available on wordpress.org is Feb 7th 2013.

    Where is the updated version with the fix hosted?

    Plugin Author Philipp Speck

    (@destio)

    Sorry I’m blind. I have fixed it now.

    computerslayer1

    (@computerslayer1)

    Awesome, thanks 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WordPress Meta Keywords] PHP Notice – page undefined constant…’ is closed to new replies.