Hey wait, you're an admin! We can tell you stuff.
Help!
If this stuff doesn't make any sense to you, ask for help in the Gallery forums!
So here's the error:
Passed variable is not an array or object, using empty array instead
File: modules/gallery/helpers/module.php, line: 82
And here's how we got there:
modules/gallery/helpers/module.php [82]:
ArrayObject->__construct( )
modules/gallery/controllers/admin_modules.php [24]:
module_Core::available( )
modules/gallery/controllers/admin.php [50]:
Admin_Modules_Controller->index( )
Admin_Controller->__call( Array
(
[0] => Admin_Modules_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)
)
[1] => index
)
)
system/core/Kohana.php [291]:
ReflectionMethod->invokeArgs( modules )
system/core/Event.php [209]:
Kohana::instance( Admin_Controller Object
(
[theme:private] =>
[uri] => URI Object
(
)
[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] => 1
[ip_address] =>
)
)
, Array
(
[0] => modules
[1] => Array
(
)
)
)
system/core/Bootstrap.php [55]:
Event::run( )
index.php [86]:
require( system/core/Bootstrap.php )
Posts: 17373
http://codex.gallery2.org/Gallery3:Modules:register
But for some reason there is a bug with the git hub:
http://github.tenderapp.com/discussions/repos/1973-source-files-missing-from-download
Are you using a recent experimental version? If not upgrade:
FAQ: How do I upgrade?
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 2
Hey Dave,
Thanks for the reply. Yes I have the Gallery 3 Beta 3; no upgrades.
I did download that zip file but the register module is missing. it's not in there.
Is there any way of fixing that error though?
Posts: 17373
use an experimental version.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 17373
The registration module does not come with G3. It is a community contributed module.
Please read the codex for getting the module, and the SF bug that goes along with it.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team