This commit broke hook "message_update_7007". Range is not a method in UpdateQuery and current code produces fatal error (if at least 1 message exists before said update is ran):

PHP Fatal error:  Call to undefined method UpdateQuery::range()

Is the batch operation really needed there?

Comments

amitaibu’s picture

It's probably needed if there are already lots of Messages. It would be great if you could submit a patch that will find the next batch of IDs and update them. Possible?

fngatia’s picture

Issue summary:View changes

Hi! You see this UpdateQuery::range(), there is something wrong with your range i.e range->(0,50).
maybe you forgot a comma or brackets e.tc. Please paste your code here we might figue out the solution.