• [deleted]

  • Edited

Package fof/console is abandoned, you should avoid using it. No replacement was suggested.
What is this Please help

    Hari The problem here is that the composer.json and composer.lock files are out of sync after a manual edit.

    The way I have described will resolve this particular problem, and remove the problem extension at the same time

      IanM I'm guessing you edited your composer.json entries to * as per the upgrade guide.. But, by the looks of things, your composer.lock file is outdated.

      Follow this exactly

      Edit your composer.json, change "flarum/core": "1.0", to "flarum/core": "0.1.0-beta.16",
      Run composer update -W
      composer remove antoinefr/flarum-ext-online
      Edit composer.json, change "flarum/core": "0.1.0-beta.16", to "flarum/core": "1.0",
      Run composer update -W

      So long as the rest of your required extensions are 1.0 ready, you'll be upgraded

      this is the right procedure .. Correct

      • [deleted]

      IanM I removed Online Success and

      [deleted] Package fof/console is abandoned, you should avoid using it. No replacement was suggested.

      Only got this

      • [deleted]

      IanM I did all the steps properly

      • [deleted]

      IanM Should i remove it??

        [deleted]

        IanM When the time comes to upgrade your forum to 1.0, you'll need to remove this package prior to upgrading, using the following command:

        composer remove fof/console

        • [deleted]

        Now what is this??

        fof/console is not required in your composer.json and has not been removed
        ./composer.json has been updated
        Running composer update fof/console
        Loading composer repositories with package information
        Dependency "flarum/core" is also a root requirement. Package has not been listed as an update argument, so keeping locked at old version. Use --with-all-dependencies (-W) to include root dependencies.
        Updating dependencies
        Nothing to modify in lock file
        Installing dependencies from lock file (including require-dev)
        Nothing to install, update or remove
        Package fof/console is abandoned, you should avoid using it. No replacement was suggested.
        Generating autoload files
        106 packages you are using are looking for funding.
        Use the `composer fund` command to find out more!
        Removal failed, fof/console is still present, it may be required by another package. See `composer why fof/console`.
        • [deleted]

        • Edited

        @IanM
        I asked composer why

        He told me

        fof/best-answer 0.4.0 requires fof/console (*)
        fof/sitemap 0.7.0 requires fof/console (0.7.0)
        I have to remove this also???

          • [deleted]

          IanM Last Second i have to do

          • IanM replied to this.
            • [deleted]

            • Edited

            and How can i get rid of this fof/console

            See here [deleted]

            • IanM replied to this.

              [deleted] so this step, correct?

              IanM Edit composer.json, change "flarum/core": "0.1.0-beta.16", to "flarum/core": "1.0",

              [deleted] have some patience, I am giving my time freely to try and help. posting multiple times asking the same thing does not help.

              • [deleted]

              Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.

                • [deleted]

                [deleted] and All css are lost please help last time

                [deleted] ok, I've reviewed your composer.json you posted above. For the moment ignore the fof/console abandoned message, and continue with my instructions I gave you.

                When you've managed to reach the end of those commands, fof/console should automatically be removed, as the extensions that require it for beta 16 drop it for 1.0

                  • [deleted]

                  IanM 1.0

                  I updated to 1.0 but css and js all things are lost

                  • IanM replied to this.

                    [deleted] Ok, then these are the commands you need now:

                    • php flarum cache:clear
                    • php flarum assets:publish
                    • Hari replied to this.