Archive › Development

Emergency Plugin Update v2.16.8

The previous Magic Action Box plugin update – v2.16.7 – added built-in support for Constant Contact. Unfortunately, I forgot to take into account that the Constant Contact API v2 PHP Library requires at least PHP v5.3 because it uses namespaces.

Our updates are normally received quietly with probably just a nod (and a yawn) but this one has got me on my feet for the last 24 hours with an unusually high number of update related support tickets.

It was frustrating trying to figure out why some of our users were getting fatal errors and that we could not duplicate the issue on our own sites.

Our break came when one user posted the following error message:

Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/ed1/domains/ on line 3

He turned on the lightbulb for me. How could I have missed this?! Namespaces support was only introduced in PHP version 5.3. So users still hosted below PHP version 5.2 got a white screen when they updated Magic Action Box.

Anyhow, as of now we’ve temporarily removed Constant Contact built-in integration from Magic Action Box. If you are using this feature, let us know and we’ll work with you.

Comments ( 8 )