No announcement yet.

Unexpected end of file

  • Filter
  • Time
  • Show
Clear All
new posts

  • Unexpected end of file

    So I'm not sure what's happening here, but I'm getting the following error.

    ParseError: syntax error, unexpected end of file in ..../includes/init.php(357) : eval()'d code on line 428

    Our forums got hacked, and we had to migrate servers and load fresh files. I got it all up and running, then the next day I get this error. Any help would be appreciated. Thanks!

  • #2
    This is caused by a third-party plugin on the init_startup hook. You will have to update the code on that hook to be compliant with your PHP version.

    357: ($hook = vBulletinHook::fetch_hook('init_startup')) ? eval($hook) : false;

    You can sort your plugins by hook location in the AdminCP under Plugins & Products -> Plugin Manager.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.


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