I've been using RokSprocket on Joomla, but this is my first time to try it on WP. When I try to activate it, I get the following error
Parse error: syntax error, unexpected '[', expecting ')' in ............/wp-content/plugins/wp_roksprocket/roksprocket.php on line 461
Not sure what ot do about this.
I got this error, uninstalled, tried downloading again, did rokcommon first (that went smoothly), and re-downloaded and tried again. Got the same result.
This is what's at line 461 - I'm not using Gantry
// Gantry 5 special case
if(class_exists('Gantry\Framework\Gantry')) {
if(!wp_script_is('mootools.js')) {
Gantry\Framework\Document::addHeaderTag(, 'head', 10);
Ideas?
Do you have to use Gantry or a Rockettheme theme for this to work (I guess when I've used RockSprocket before,
it has been a Rocket Theme template in joomla? In any case, there should not be a Parse error.
SEARCH the forum first! These boards are rich in knowledge and vast in topics. This includes searching just the 'Solved' forums, using Google, and using ChatGPT