Announcement

Collapse
No announcement yet.

Fatal error when subscribing blogs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • FreewayOrange
    started a topic Fatal error when subscribing blogs

    Fatal error when subscribing blogs

    When a member wants to subscribe a blog, they get the following error:

    Fatal error: Cannot use object of type BrowserInfo as array in /home/user/public_html/forums/blog_subscription.php on line 81

    When I uncomment that line, it works fine. I got the same problem in vBulletin when a user wants to remove his thread subscriptions (same error though, different file).

    Anyone have a idea how to solve this problem?

    PHP Code:
    if ((!$vbulletin->userinfo['userid'] AND $_REQUEST['do'] != 'unsubscribe') OR $userinfo['usergroupid'] == OR $vbulletin->userinfo['usergroupid'] == OR !($permissions['genericoptions'] & $vbulletin->bf_ugp_genericoptions['isnotbannedgroup']))
    {
          
    print_no_permission();

Related Topics

Collapse

Working...
X