User Access Manager Error
-
Hello,
I was stupidly trying to add some additional redirect code to the User Access Manager plugin and messed something up. To make a log story short – I’ll fill in specific details later if needed, this is my error message:Parse error: syntax error, unexpected T_ELSEIF, expecting T_FUNCTION in /data/12/1/127/64/1127716/user/1194680/htdocs/PtsVideoGallery/wp-content/plugins/user-access-manager/class/UserAccessManager.class.php on line 1986
This is the block of code with the error starting, at line 1983:
if (isset($pageParams->query_vars['p'])) { $object = get_post($pageParams->query_vars['p']); $objectType = $object->post_type; $objectId = $object->ID; } elseif (isset($pageParams->query_vars['page_id'])) { $object = get_post($pageParams->query_vars['page_id']); $objectType = $object->post_type; $objectId = $object->ID; } elseif (isset($pageParams->query_vars['cat_id'])) { $object = get_category($pageParams->query_vars['cat_id']); $objectType = 'category'; $objectId = $object->term_id; }
Can anyone help me?
Thanks,
Mike
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘User Access Manager Error’ is closed to new replies.