Multiple type-related bugs

HomeForumsAdRotate for WordPressGeneral SupportMultiple type-related bugs

  • #123538

    hudsonvw
    Badges:

    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

    and

    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.

    #123540

    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: https://ajdg.solutions/support/adrotate-manuals/upgrade-adrotate-pro-to-a-newer-version/

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

    #123547

    Moved to General Support. Not a bug.

    #123553

    hudsonvw
    Badges:

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

    No Updates Available

    #123554

    hudsonvw
    Badges:

    Don’t know why the image link is broken, but here https://ibb.co/BtCVysS

    #123555

    hudsonvw
    Badges:

    Also here, showing there are no updates detected https://ibb.co/jw5wHyF

    #123565

    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.
    https://ajdg.solutions/support/adrotate-manuals/upgrade-adrotate-pro-to-a-newer-version/

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

You must be logged in to reply to this topic.

You may be interested in