Started seeing this after server upgrade to php 7.1.6

I have CT 3.1 installed.

Any Ideas?

  • I know this is due to change to php 7.1.6... Offending line of code is (line 685): $attributes['onclick'] = $onclick; – Kokako Jul 20 '17 at 1:25

Ok just in case anybody hits this issue, I'm pretty sure that it has something to do with the php version. The server that had this was recently upgraded to 7.1.6. Switching back to 5.x made the warning go away.

A kind person over at StackOverflow found a fix.


| improve this answer | |
  • The link you provided fixed it for me as well, thanks for sharing! – ByteMyPixel Aug 21 '18 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.