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, 2017 at 1:25

1 Answer 1


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.


  • The link you provided fixed it for me as well, thanks for sharing! Aug 21, 2018 at 18:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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