Announcement

Collapse
No announcement yet.

Php warning on top of vbcms

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Elyk
    started a topic [CMS] Php warning on top of vbcms

    Php warning on top of vbcms

    We are getting this error showing at the top of our vbcms and looking for some info on what could be causing this and how to fix.

    PHP Warning: Illegal string offset 'hascustom' in ..../packages/vbcms/controller/content.php(260) : eval()'d code on line 26

    line 26 of controller/content.php

    PHP Code:
     * @since $Date2009-02-12 16:00:09 +0000 (Thu12 Feb 2009) $ 
    Thanks!

  • Elyk
    replied
    Thanks Mark.B!!

    It was and I found it. I had a hack made for vbarcade to show games and scores in our vbcms and now I need to find someone to update it.

    Leave a comment:


  • Mark.B
    replied
    Hello, this is from a modification. Does it go away if you disable plugins?

    Leave a comment:


  • Elyk
    replied
    And it is back now showing:

    PHP Warning: Illegal string offset 'hascustom' in ..../packages/vbcms/controller/content.php(260) : eval()'d code on line 26

    PHP Warning: Illegal string offset 'hascustom' in ..../packages/vbcms/controller/content.php(260) : eval()'d code on line 26


    Leave a comment:


  • Elyk
    replied
    Good news, the error disappeared today, kind of errors I like!

    Leave a comment:


  • Elyk
    replied
    Hi Zachery,

    I already have define('SKIP_ALL_ERRORS', true); added to the config.php file. Have also tried error_reporting(E_ALL ^ (E_NOTICE | E_WARNING | E_DEPRECATED)); and define('SKIP_DS_ERRORS', true);

    Upgraded to 4.2.3 beta 1 and error is there but the error was showing on 4.2.2 for the last couple of days before we upgraded today.

    Leave a comment:


  • Zachery
    replied
    Hello,
    As of vBulletin 4.2.2 we’ve stopped suppressing notices and warnings. This is a change from all previous versions of the software.

    In some environments more notices/warnings show than in others. In order to address the issue you just need to add the following line to your config.php file
    define('SKIP_ALL_ERRORS', true);

    You can see additional information about this change here: http://www.vbulletin.com/forum/forum...-been-released


    Leave a comment:

widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
Working...
X