Jump to content

XenForo: activation error [E_WARNING] Undefined array key "hive_site_id" in src/addons/Communityhive/API.php at line 98


Malcolm

Recommended Posts

Hi folks, 

I'm running into an issue setting up Community Hive on one of my sites. 

I get the error below when trying to access /admin.php?communityhive/. 

Communityhive\APIException: activation error [E_WARNING] Undefined array key "hive_site_id" in src/addons/Communityhive/API.php at line 98
  1. Communityhive\API->activate() in src/addons/Communityhive/API.php at line 51
  2. Communityhive\API::toggle() in src/addons/Communityhive/Admin/Communityhive.php at line 71
  3. Communityhive\Admin\Communityhive->actionIndex() in src/XF/Mvc/Dispatcher.php at line 352
  4. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  5. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  6. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  7. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2487
  8. XF\App->run() in src/XF.php at line 524
  9. XF::runApp() in admin.php at line 13

Note: This is with the new updated version of your add-on. My guess is that perhaps on your end you may have to activate us?

Detailed Error Log:

Communityhive\APIException: activation error [E_WARNING] Undefined array key "hive_site_id" src/addons/Communityhive/API.php:98

Stack Trace:

#0 src/addons/Communityhive/API.php(51): Communityhive\API->activate()
#1 src/addons/Communityhive/Admin/Communityhive.php(71): Communityhive\API::toggle(true)
#2 src/XF/Mvc/Dispatcher.php(352): Communityhive\Admin\Communityhive->actionIndex(Object(XF\Mvc\ParameterBag))
#3 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('Communityhive\\A...', 'Index', Object(XF\Mvc\RouteMatch), Object(Communityhive\Admin\Communityhive), NULL)
#4 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(Communityhive\Admin\Communityhive), NULL)
#5 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#6 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#7 src/XF.php(524): XF\App->run()
#8 admin.php(13): XF::runApp('XF\\Admin\\App')
#9 {main}

Request State:

array(4) {
  ["url"] => string(25) "/admin.php?communityhive/"
  ["referrer"] => string(51) "https://forumpromotion.net/admin.php/communityhive/"
  ["_GET"] => array(1) {
    ["communityhive/"] => string(0) ""
  }
  ["_POST"] => array(0) {
  }
}

 

Link to comment
Share on other sites

 

Quote

Note: This is with the new updated version of your add-on. My guess is that perhaps on your end you may have to activate us?

Was this after the upgrade of the app or did you just install it? Does this also happen when you uninstall and install the app again?

  • Like 1
Link to comment
Share on other sites

13 hours ago, Daniel F said:

 

Was this after the upgrade of the app or did you just install it? Does this also happen when you uninstall and install the app again?

So, I originally tried before the update, which was the same result. After the update came out, I 'upgraded it" but nothing changed. So I uninstalled, deleted all the files and tried again but still got the same result.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy