• Resolved wideroadby

    (@wideroadby)


    After WP REST API Controller has been updated to 2.0.6 on 3 sites the following error message appeares in the top of an admin pannel:
    Warning: The use statement with non-compound name ‘wp_rest_api_controller’ has no effect in /home/menacoby/menaco.ru/wp-content/plugins/wp-rest-api-controller/admin/partials/settings-functions.php on line 7

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor jpowersdev

    (@jpowersdev)

    Hi @wideroadby,

    Thanks for the heads up. The changes were made to support PHP 8, but that one (as the notice suggests) was not necessary. I’ll revert.

    Jon

    Thread Starter wideroadby

    (@wideroadby)

    Hi Jon,
    Thanks for your prompt reply.
    Pardon me, it’s not clear what to do.
    Should I wait for a new update release or whatever?

    Plugin Contributor jpowersdev

    (@jpowersdev)

    Hi @wideroadby,

    I just pushed a new release without that line. If you update the plugin, the notice should disappear.

    Let me know if you have any trouble,
    Jon

    Thread Starter wideroadby

    (@wideroadby)

    Thanks a lot.
    Updated to 2.0.7. Now it’s fine.

    Plugin Contributor jpowersdev

    (@jpowersdev)

    Hi @wideroadby,

    Glad to hear it! Thanks again for bringing that to our attention.

    Take care,
    Jon

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Warning: The use statement with non-compound name ‘wp_rest_api_controller’’ is closed to new replies.