Parsing error upon activation: expecting ')' in telegram-bot.php on line 252
-
Hello,
The latest version of the plug-in installs, but I’m getting this error when trying to activate it
Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in somesite/plugins/telegram-bot/telegram-bot.php on line 252
Lines 251-253 for reference
function telegram_get_keyboard_layout($template) { return array_map ( function ($_) {return explode (',', $_);}, explode (';', $template) ); }
WP 4.2, PHP Version 5.2.11. Can provide more tech info, if needed.
Appreciate your help.
Vadim
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Parsing error upon activation: expecting ')' in telegram-bot.php on line 252’ is closed to new replies.