Does this one really works for others in AdminCP?
In file:
./includes/
adminfunctions_vbrecycle.php
There is function:
PHP Code:
function cache_styles($getids = false, $styleid = -1, $depth = 0){
...
}
But there is already such function in vBulletin's code:
File:
includes/
adminfunctions_template.php
PHP Code:
function cache_styles($getids = false, $styleid = -1, $depth = 0)
{
...
}
So when in AdminCP you try to access "
vBRecycle Options -> Main Settings" or any other you just get an error:
Code:
Fatal error: Cannot redeclare cache_styles() (previously declared in /.../includes/adminfunctions_template.php:2410) in /.../includes/adminfunctions_vbrecycle.php on line 219
Also there is second function in file:
./includes/
adminfunctions_vbrecycle.php
PHP Code:
function print_style_chooser_row($name = 'parentid', $selectedid = -1, $topname = NULL, $title = NULL, $displaytop = true)
{
...
}
which also gives the same error.
Solution for me:
I have just removed both functions from file ./includes/
adminfunctions_vbrecycle.php
PHP Code:
function cache_styles($getids = false, $styleid = -1, $depth = 0){
...
}
PHP Code:
function print_style_chooser_row($name = 'parentid', $selectedid = -1, $topname = NULL, $title = NULL, $displaytop = true)
{
...
}