Jump to content

Recommended Posts

Posted
4 hours ago, HannaP said:

Can anybody show me how to change that line?

The easiest fix is to change "count" to "wireCount"

Posted

Thanks, that helped.

Batcher then complained about the same in line 163
which I changed like that, too

if (wireCount($this->input->post->pages) && $this->input->post->a == $this->_('Execute')) {

The module seems to work now but still gives warnings:

Warning: Trying to access array offset on value of type null in /home/xxx/webs/yyy/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 361

Warning: Trying to access array offset on value of type null in /home/xxx/webs/yyy/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 362

Warning: Trying to access array offset on value of type null in /home/xxx/webs/yyy/site/assets/cache/FileCompiler/site/modules/ProcessBatcher/ProcessBatcher.module on line 363

This using PHP 8.0.9
ProcessWire 3.0.165
Batcher 1.0.4

  • 11 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...