Multiple type-related bugs

HomeForumsAdRotate for WordPressGeneral SupportMultiple type-related bugs

  • #123538


    My error log is getting hammered by these errors from AdRotate Pro (dozens of times a second):

    Trying to access array offset on value of type bool in /public_html/wp-content/plugins/adrotate-pro/adrotate-pro.php on line 73


    count(): Parameter must be an array or an object that implements Countable in /public_html/wp-content/plugins/adrotate-pro/adrotate-output.php on line 651

    I got the errors to stop by wrapping the problematic statements in guard clauses (check for is_countable, !is_boolean). But this causes the menu to no longer display in the UI – so I can no longer manage the plugin or use it in any meaningful way (thankfully, most – not all – of the ads are still showing up).

    Running PHP 7.4, WordPress 5.5.3, AdRotate Pro 4.10.1

    Please advise.


    Start with updating to a newer version. The latest version is 5.8.11.
    It’s likely that your problem goes away with the newer version.

    Upgrade instruction:

    Or, if you prefer, have me do the update, I can do so for a small fee –
    Usually this can be done within a day or two. Please check the product page for details.


    Moved to General Support. Not a bug.



    According to WordPress, I’m at the latest version available. I do not see the ability to update.

    No Updates Available



    Don’t know why the image link is broken, but here



    Also here, showing there are no updates detected


    If you don’t have version 5.8.11 the update is available.
    If it doesn’t show up in the dashboard, you can update manually using these steps.

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.

You may be interested in