Important: This page is using cookies (cookies). Using this website without turning off cookies in browser, means that you agree for using it.
Buy Now! Features Downloads

Earn with us!

If you would like to start earning money with vBET join to Affiliate Program.
Results 1 to 7 of 7

Thread: When I clean the cache I get some errors

  1. #1
    Junior Member
    Join Date
    Dec 2009
    Posts
    21

    Default When I clean the cache I get some errors

    at the top of the page in Vbulletin


    Warning: Illegal offset type in isset or empty in [path]/includes/vbenterprisetranslator_functions_lang.php on line 107

    Warning: Illegal offset type in [path]/includes/vbenterprisetranslator_functions_lang.php on line 109

    Warning: Illegal offset type in [path]/includes/vbenterprisetranslator_functions_lang.php on line 114

  2. #2
    Senior Member
    Join Date
    Nov 2009
    Posts
    168

    Default

    Did you clear the cache using the admin panel script? This warning is thrown when an array key is not set.

  3. #3
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,
    I checked it and this warning is from this function:
    vbet_useCache
    Normally we pass to this function only one elenent - for example 'pl'
    but after cache cleaning - this is an array, but Array can't be a key to the table.
    Now We are working on solution for you.

  4. #4
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Hello,
    As i wrote in previous post - We know where is the issue but we should make a correction in few places in file.
    We will make this corections but it will be included in the next relase.

    I have a solution for you to only hide this "warnings", so:
    1. edit the forum root/includes/vbenterprisetranslator_functions_lang.php file
    2. find and comment:
    PHP Code:
    define('VBET_USE_CACHE_FOR_ACTUAL'vbet_useCache($_REQUEST['language'])); 
    3. paste after that:
    PHP Code:
    define('VBET_USE_CACHE_FOR_ACTUAL', @vbet_useCache($_REQUEST['language'])); 
    4. save file

    Remember - this is not a solution - only you can hide this warnings now.

    please after that check your site (translations, links etc.) and confirm here.
    I will move this thread in to the Bug reporting area.
    Confirmed and will be fixed in the next relase.

  5. #5
    vBulletin Enterprise Translator (vBET) Staff
    Join Date
    May 2010
    Posts
    1,000

    Default

    Done. I edited two vBET files.it Will be includet in the next relase.

  6. #6

    Default

    While it hides the warnings it does not fix the issue as the cache is not cleared.

  7. #7
    Banned
    Join Date
    Nov 2010
    Posts
    95

    Default

    Quote Originally Posted by kamilkurczak
    Remember - this is not a solution - you can hide these warnings now
    These warnings are shown, because your server settings are set to display them.
    We've got a prepared solution for this issue, but it will be applied in the next release.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •