1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cannot redeclare class error

Discussion in 'XenForo Development Discussions' started by Kirk, Apr 11, 2015.

  1. Kirk

    Kirk Well-Known Member

    Hi all so,

    I've ran into the following error:
    Fatal error: Cannot redeclare class XFCP_ElUsernotes_Importer_vBulletin in C:\wamp\www\xf\library\XenForo\Application.php(528) : eval()'d code on line 1

    What could be causing this error?
  2. Jake B.

    Jake B. Well-Known Member

    What are your contents of library/ElUsernotes/Importer/vBulletin.php?
  3. Jake B.

    Jake B. Well-Known Member

    Hmm, what about the contents of your code event load_class method? Or if you want, you can package the entire add-on and I can take a look at it
  4. Kirk

    Kirk Well-Known Member

    It seems that I figured it out @Jake B. :)

    Had to changed my cases in one of my models.

Share This Page