I have the same error and no idea on how to solve it, maybe i can help with the code, i pasted it in here
http://pastie.org/private/04gkwughwi2mu1loeisj1q
the error is in line 57
$val = get_option('smartcat_construction_options')['analytics'] ? get_option('smartcat_construction_options')['analytics'] : '';
an the error says exactly this
Parse error: syntax error, unexpected ‘[‘ in /home/user/public_html/test/wp-content/plugins/wp-construction-mode/inc/class/class.smartcat-construction.php on line 57
I hope some body could help us, thanks in advance.
@alfanetmx : Actually there is no get_option()[]; looks like this because it out of range of the get_option you want to display.
because in [] it always refers to an array.
get_option(‘smartcat_construction_options’, ‘analytics’ );
for more info: https://codex.ww.wp.xz.cn/Function_Reference/get_option
@mrjhon01: Thanks for your help, it was from wp-construction-mode plugin, but today there’s an update fixing the problem.
@jonathan1708 Did you get your problem solved?
Thank all for your help, it worked, 😀
If it is from the update problem then you can ask the developer or support for the plugin