• Resolved sanjitsharkbyte

    (@sanjitsharkbyte)


    Please fix the following warning in version 5

    wp-content/plugins/molongui-authorship-pro/includes/sitemaps/yoast.php:11
    Molongui\A\P\MolonguiAuthorshipPro::require_file()
    wp-content/plugins/molongui-authorship-pro/molongui-authorship-pro.php:337
    Molongui\A\P\MolonguiAuthorshipPro->init()
    wp-content/plugins/molongui-authorship-pro/molongui-authorship-pro.php:196
    Molongui\A\P\MolonguiAuthorshipPro->on_plugins_loaded()
    wp-includes/class-wp-hook.php:324
    do_action('plugins_loaded')
    wp-settings.php:559
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Molongui

    (@molongui)

    Hi @sanjitsharkbyte,

    You must be running an outdated version of the Pro plugin. Please update it to the latest version. That should address the warning you reported.

    I’m closing this ticket, but if the issue persists after having updated, please feel free to re-open it and we will be happy to assist.

    Thread Starter sanjitsharkbyte

    (@sanjitsharkbyte)

    Updating the pro version to latest fixes the issue. Thank you 🙂

    Plugin Author Molongui

    (@molongui)

    Thanks for your confirmation!

    Brian Lewis

    (@borisnikolaevich)

    I am having the same issue after upgrading to core version 5.0.15 and pro version 1.8.13, but the error comes when I call get_main_author() from a plugin that allows me to set permalinks to /%author%/%postname%/ (for example, read.emberjournal.org/brian-lewis/some-example-story).

    I don’t get the error when my plugin is deactivated, so I know it’s not actually your problem, but I’d be extremely grateful for a suggestion or hint on resolving this—it worked wonderfully for 3+ years, and only broke when I upgraded Molongui Authorship.

    Brian Lewis

    (@borisnikolaevich)

    Actually, since my plugin only runs when “guest authors” is enabled, I simply re-implemented the relevant functionality of get_main_author() without the condition, and the <Undefined array key “guest_authors”> error is resolved … and my permalinks are back, too.

    Thanks for the patience as I hijacked this post just because it had the same error I was getting. You can see the working code in action on any post at https://read.emberjournal.org/.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Undefined array key “guest_authors”’ is closed to new replies.