Getting this on all of my pages. Running the latest version.
Warning: Invalid argument supplied for foreach() in /home/site/public_html/includes/vbenterprisetranslator_functions_hooks.php on line 734
Getting this on all of my pages. Running the latest version.
Warning: Invalid argument supplied for foreach() in /home/site/public_html/includes/vbenterprisetranslator_functions_hooks.php on line 734
Please give me a link to the issue. Please send me a PM access details to Admin CP and FTP. I will check what is going on there
I do not have access to FTP.
Quick fix for this issue:
- Open file includes/vbenterprisetranslator_functions_hooks.php
- Find:
PHP Code:
if($vbulletin->options['vbenterprisetranslator_alternate_tag'])
- Replace it to:
PHP Code:
if($vbulletin->options['vbenterprisetranslator_alternate_tag'] && !$vbulletin->userinfo['userid'])
This quick fix will be added in the next release.
thanks, that worked.
I updated to the latest version of vBET. I had to re-apply this fix, however it is now showing on all guest pages no matter what.
I do not see the issue on your website.
The latest version vBET is 4.7.2. Your version is 4.7.1. Have you done a downgrade?
Yes, I downgraded after I saw this, but it looks like it's happening in 4.7.1 as well. It's only happening when no translation providers are available (Google is marked as available in my case, but I don't have an API key entered for them). When this happens threads are also NOT being translated.
If you do not have a key Google then it should be automatically disabled. You manually turn off Google in AdminCP->vBET->Translation Providers Availability. Please let me know if Google turn on automatically in AdminCP->vBET->Translation Providers Availability.
Please let me know if this resolves the issues.