teppokoivula / VersionControl

Version Control Module For ProcessWire CMS/CMF
GNU General Public License v2.0
26 stars 10 forks source link

count(): Argument #1 ($value) must be of type Countable|array, null given #44

Closed adrianbj closed 2 years ago

adrianbj commented 2 years ago

Hi @teppokoivula - I get this when clicking the eye icon on the history tab. wireCount() does take care of it if you want to take that approach.

Thanks!

image
teppokoivula commented 2 years ago

Hey @adrianbj — it looks like this was already fixed in https://github.com/teppokoivula/VersionControl/commit/7ba687c731d1006b9e9d18e5f2a05e8ab6cad880. Can you check that you're using the latest version?

adrianbj commented 2 years ago

Ah, yes. Sorry, I am running v2 so I don't get notifications of updates via the PW Upgrades module.