Mr. Pickles the AdPlugg Pug

Adding plugin crashes site


When I turn on the plugin in wordpress I get this notice when I go to the home page to see the ad: Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or '(' in /home/content/29/2059629/html/delmarpost/wp-content/plugins/adplugg/includes/frontend/class-adplugg-facebook-instant-articles.php on line 12

Sorry for the trouble and the error - it's because you are on an old version of PHP. That line is on a 'use' statement. The 'use' statement was added in php 5.3 (which came out June 30th, 2009). Are you able to upgrade your version of php?