I was guessing this was going to happen at some point, where composer update would get a dependency ahead of Flarum's code. Thanks for the report.

luceos jordanjay29 For sure that seems like quite a way to force a paradigm shift.
"Surprise!"..... [Links to the new version documentation while laughing maniacally... on the inside...]
XD

Luckily, no other dependencies seem to care so I don't either.

And thank you for the reply. And I am patient, I understand the value of time. And @Toby does really great work. =)

f0r3v3r changed the title to zend-stratigility debug message after composer update .

f0r3v3r @Franz can you fix the dependency in the composer file or make it compatible (and up the dependency anyway)?

jordanjay29 this should be a reported bug, I experienced the same on my dev environment, possibly due to debug mode..

    15 days later

    Hi,

    I have the same issue and therefore can't install the forum. I have run the composer command "composer require zendframework/zend-stratigility 1.2.1" but it didn't help. I just installed Beta version 6 today.

    Any idea what else I can do?

    Thank you,

    Philip

      wwwill Very helpful. Trying things out after following the beta for a few months now. This error/notice prevented the admin from loading at all, and prevented creating new topics. Reverted to Stratigility 1.2.1 and it's working perfect., Glad to finally test things out.

      Thanks, flip3.

      I'm on serverpilot, used composer7.0-sp to install the flarum. How can I fix the issue?
      I have alaready added

      "zendframework/zend-stratigility": "1.2.1"

      in the require section of the composer.json file.

      now when I run

      composer7.0-sp require zendframework/zend-stratigility: 1.2.*

      I get

      [InvalidArgumentException]
      Could not find package 1.2.* at any version for your minimum-stability (beta). Ch
      eck the package spelling or your minimum-stability

      wwwill woah.. ? it worked. "composer7.0-sp install" did the thing. Thank you so much mate, it was my first flarum install.

        a month later

        I did everything like wwwill said, but composer update just gives me a parse error. composer7.0-sp install doesn't seem to work either.

        [Seld\JsonLint\ParsingException]
        "./composer.json" does not contain valid JSON
        Parse error on line 49:
        ...-discord": "1.0" "zendframework/zend-...
        ---------------------^
        Expected one of: 'EOF', '}', ':', ',', ']'

          There was a , missing on line 49, it's fixed now. But composer update didn't do anyting, just said that there was nothing it could update.