Warning: Cannot use a scalar value as an array in [path]/admincp/vaultwiki_namespace.php on line 479
Warning: array_keys() [function.array-keys]: The first argument should be an array in [path]/includes/adminfunctions_options.php on line 422
Warning: Invalid argument supplied for foreach() in [path]/includes/adminfunctions_options.php on line 422
The errors are a conflict with: Product : AWCoding- Back-End
This is the back end of the AWCoding Donation System. Version 3.0.8
AWCoding adds values to the object, but in no shape or form does it change it to a string.
The plugin in that affects Vaulwiki is the init_startup:
$settings as used by AWC is a MySQL resource. At least according to Donations lite - I cannot find the back-end itself anywhere - the variable is not destroyed after use.
As long as this was the problem, it's an easy compatibility fix for the next build.
Considering the code within plugin init_start: AWC asked me to post this:
Originally Posted by AWC
Code:
$vbversion=substr($vbulletin->options['templateversion'],0,1);
$settings=$vbulletin->db->query_read("SELECT varname,value FROM ".TABLE_PREFIX."awc_settings");
while ($setting=$vbulletin->db->fetch_array($settings)){
$vbulletin->options[$setting['varname']]=$setting['value'];
}
$awc_base=$vbulletin->options['awc_base'];
I presume I am overriding his $settings value. Which should be software specific not to conflict with any other modification. New v4 changes it to $awc_settings_sql and $awc_setting. So again new version won't conflict and he needs to change it as well as both him and I overlook that simple thing.
The issue has to be $settings/$setting. Needs to be software specific. $awc_settings/$awc_setting
where $vw_settings/$vw_setting should be his.
This site uses cookies to help personalize content, to tailor your experience, and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.