Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 17, 20222 yr I've just upgraded both my test and production sites to 4.7.2.1. All is well, but I thought I'd point out that (in my case at least) the Compatibility Scanner isn't working properly on my test install - it constantly throws the following error: There was an error loading the hook scanner results. This seems strange to me, since a day ago I reinstalled all of my apps and plugins on the test site which I have on my production site (and even in the same order), minus a couple of disabled or no-longer-available plugins etc. There are no problems whatsoever on my production site, which correctly lists apps which have been disabled as incompatible. This isn't a huge deal for me, as my production site seems to be fine - just FYI in case you wanted to tweak something. PS both sites are running PHP 8.1.10. Edited September 17, 20222 yr by LiquidFractal
September 17, 20222 yr Community Expert This seems strange to me, since a day ago I reinstalled all of my apps and plugins on the test site which I have on my production site (and even in the same order), minus a couple of disabled or no-longer-available plugins etc. There are no problems whatsoever on my production site, which correctly lists apps which have been disabled as incompatible. Could you please clarify what you mean be re-installed? Was this a full uninstall and re-install via the Marketplace?
September 18, 20222 yr Author Could you please clarify what you mean be re-installed? Was this a full uninstall and re-install via the Marketplace? Sure - by re-installed I mean browsing to all of the applicable applications and plugins in the Marketplace and installing them from there. I had not uninstalled any of them recently; this was a daisy-fresh install of my test site, so I was adding them again from scratch. Hope this helps! Edited September 18, 20222 yr by LiquidFractal
September 18, 20222 yr Community Expert We've seen other reports of this, and some tickets have been sent up for developers to take a look at. So this is something we are currently aware of.
September 19, 20222 yr I've been getting the same error with PHP 8.1 and my test board. 100 or so apps and plugins installed, haven't tried a fresh install yet. TypeError count(): Argument #1 ($value) must be of type Countable|array, bool given if ( $limit !== -1 ) { $limit -= \count( $methodIssues ); } $issues[$appOrPlugin] = $issues[$appOrPlugin] ?? []; $issues[$appOrPlugin][$classDetails['filepath']] = array_merge( $issues[$appOrPlugin][$classDetails['filepath']] ?? [], $methodIssues );
September 27, 20222 yr Community Expert I've been getting the same error with PHP 8.1 and my test board. 100 or so apps and plugins installed, haven't tried a fresh install yet. TypeError count(): Argument #1 ($value) must be of type Countable|array, bool given if ( $limit !== -1 ) { $limit -= \count( $methodIssues ); } $issues[$appOrPlugin] = $issues[$appOrPlugin] ?? []; $issues[$appOrPlugin][$classDetails['filepath']] = array_merge( $issues[$appOrPlugin][$classDetails['filepath']] ?? [], $methodIssues ); Is your live site also using 8.1? i have this error per php8 update too Could you please confirm if you are on 8.0 or 8.1?
September 29, 20222 yr Community Expert I would need to see this on somewhere that isnt localhost. Unfortunately them being localhost means its not possible for us to be able to investigate the reasons