Jump to:

1136 Posts in 1984 Topics by 403 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » 3.1 ConfigStaticManifest Upgrade error

Ask questions about upgrading SilverStripe to the latest version.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 633 Views
  • tv
    Avatar
    Community Member
    43 Posts

    3.1 ConfigStaticManifest Upgrade error Link to this post

    Has anyone received this error after upgrading and then running a dev/build?

    Fatal error: Unexpected token when building static manifest: Array ( [0] => 360 [1] => => [2] => 11 ) in /Applications/MAMP/htdocs/vaultupgrade/thevault/framework/core/manifest/ConfigStaticManifest.php on line 274

  • Webdoc
    Avatar
    Community Member
    329 Posts

    Re: 3.1 ConfigStaticManifest Upgrade error Link to this post

    To you have in your code belongs_many_many it can cause the problem

    ---------------------------------------------------------------------------------------------
    Arvixe Web Hosting / SilverStripe Community Liaison | Looking for quality SilverStripe Web Hosting? Look no further than Arvixe Web Hosting!

  • tv
    Avatar
    Community Member
    43 Posts

    Re: 3.1 ConfigStaticManifest Upgrade error Link to this post

    I have one $belongs_many_many set. After commenting it out (as well as its corresponding $many_many) I am still receiving the error.

  • tv
    Avatar
    Community Member
    43 Posts

    Re: 3.1 ConfigStaticManifest Upgrade error Link to this post

    The issue was that there was a syntax error in one of my static array declarations. To track this down, I added Debug::dump($class) and Debug::dump($token) inside the while loop of ConfigStaticManifest::parseStatic ( located at line 255 ).

    633 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.