• Resolved Website Rob

    (@website-rob)


    Greetings,

    WordPress 6.1.1
    PHP 8.0.28
    SpeedyCache 1.0.3

    In using this plugin I noticed these msgs.

    Admin -> SpeedyCache -> Settings (right-hand side, page top)

    Warning : Undefined array key "brand_data" in
    /wp-content/plugins/speedycache/main/settings.php
    on line 2399

    Regardless of what Theme is used, even a FSE Theme, if plugin is active this msg. appears in Customizer (right-hand side, page top).

    Notice: Function WP_User_Query::query was called incorrectly. User queries should not be run before the plugins_loaded hook. Please see Debugging in WordPress for more information. (This message was added in version 6.1.1.) in /wp-includes/functions.php on line 5835

    SpeedyCache causes the first msg. just loading its Settings page. The 2nd msg. was confirmed by disabling only SpeedyCache and msg. disappears.

    Please confirm if you can or cannot duplicate the above.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support SpeedyCache

    (@speedycache)

    Hello @website-rob,

    Thanks for informing us about the warning you are seeing and sorry for the inconvenience you faced.
    Yes we are able to reproduce the first warning. But couldn’t reproduce the second one, would you please re install and see if you face the second Notice again.
    And we will fix the warning you are getting but if you want to disable the warning for now you can disable display_errors from your control Panel.

    Regards,
    SpeedyCache Team

    Thread Starter Website Rob

    (@website-rob)

    Sorry, forgot to mention that in wp-config.php I have enabled debug.

    define( 'WP_DEBUG', true );

    I confirmed this by disabling debug and msg. in Customizer does not show.

    Plugin Support SpeedyCache

    (@speedycache)

    Hello @website-rob,

    We will fix the warning in the next release and for the second issue we will look into why it would have been showing up.
    Will update you here when we launch the version.

    Regards,
    SpeedyCache Team

    Thread Starter Website Rob

    (@website-rob)

    Appreciate the update. The problems are probably connected with changes in PHP 8.

    BTW, not having looked at the code, I was wondering what “brand_data” in the ‘settings.php’ file refers to. Is there a definition of what it is or for?

    Plugin Support SpeedyCache

    (@speedycache)

    Hello,

    Sorry for the delay in response. So the brand_data is used to customize the right column of SpeedyCache admin pages.

    Regards,
    SpeedyCache Team

    Plugin Support SpeedyCache

    (@speedycache)

    Hello @website-rob

    We have fixed both the issues you were facing in version 1.0.4.
    So please update to the latest version, and do let us know if you face the same warnings in the new version.

    Regards,
    SpeedyCache Team

    Thread Starter Website Rob

    (@website-rob)

    Just now retested using:

    WordPress 6.2
    PHP 8.0
    SpeedyCache 1.0.5

    No errors, warnings or blips of any kind. All is well once again.

    Thank you, for following up.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP_User_Query::query was called incorrectly’ is closed to new replies.