ariandanim
Failed Upgrading from Phoenix 1.7.21 to 1.8.0-rc.1
Please help how to solved this,
Compiling 71 files (.ex)
error: undefined function error/1 (expected MyappWeb.UserRegistrationLive to define such a function or for it to be imported, but none are available)
│
30 │ <.error :if={@check_errors}>
│ ^^^^^
│
└─ lib/myapp_web/live/user_registration_live.ex:30:9: MyappWeb.UserRegistrationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserSettingsLive to define such a function or for it to be imported, but none are available)
│
41 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_settings_live.ex:41:9: MyappWeb.UserSettingsLive.render/1
error: undefined function error/1 (expected MyappWeb.UserResetPasswordLive to define such a function or for it to be imported, but none are available)
│
17 │ <.error :if={@form.errors != []}>
│ ^^^^^
│
└─ lib/myapp_web/live/user_reset_password_live.ex:17:9: MyappWeb.UserResetPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserForgotPasswordLive to define such a function or for it to be imported, but none are available)
│
14 │ <.simple_form for={@form} id="reset_password_form" phx-submit="send_email">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_forgot_password_live.ex:14:7: MyappWeb.UserForgotPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserConfirmationInstructionsLive to define such a function or for it to be imported, but none are available)
│
14 │ <.simple_form for={@form} id="resend_confirmation_form" phx-submit="send_instructions">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_confirmation_instructions_live.ex:14:7: MyappWeb.UserConfirmationInstructionsLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserLoginLive to define such a function or for it to be imported, but none are available)
│
18 │ <.simple_form for={@form} id="login_form" action={~p"/users/log_in"} phx-update="ignore">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_login_live.ex:18:7: MyappWeb.UserLoginLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserConfirmationLive to define such a function or for it to be imported, but none are available)
│
11 │ <.simple_form for={@form} id="confirmation_form" phx-submit="confirm_account">
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_confirmation_live.ex:11:7: MyappWeb.UserConfirmationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserRegistrationLive to define such a function or for it to be imported, but none are available)
│
21 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_registration_live.ex:21:7: MyappWeb.UserRegistrationLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserResetPasswordLive to define such a function or for it to be imported, but none are available)
│
11 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_reset_password_live.ex:11:7: MyappWeb.UserResetPasswordLive.render/1
error: undefined function simple_form/1 (expected MyappWeb.UserSettingsLive to define such a function or for it to be imported, but none are available)
│
16 │ <.simple_form
│ ^^^^^^^^^^^
│
└─ lib/myapp_web/live/user_settings_live.ex:16:9: MyappWeb.UserSettingsLive.render/1
== Compilation error in file lib/myapp_web/live/user_login_live.ex ==
** (CompileError) lib/myapp_web/live/user_login_live.ex: cannot compile module MyappWeb.UserLoginLive (errors have been logged)
I just follow steps in
I try to delete entire folder live to find another error above then type mix phx.server, another error showing below :
Compiling 64 files (.ex)
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
90 │ {gettext("Hang in there while we get back on track")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:90: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
85 │ title={gettext("Something went wrong!")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:85: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
78 │ {gettext("Attempting to reconnect")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:78: MyappWeb.Layouts."flash_group (overridable 1)"/1
error: undefined function gettext/1 (expected MyappWeb.Layouts to define such a function or for it to be imported, but none are available)
│
73 │ title={gettext("We can't find the internet")}
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│
└─ lib/myapp_web/components/layouts.ex:73: MyappWeb.Layouts."flash_group (overridable 1)"/1
== Compilation error in file lib/myapp_web/components/layouts.ex ==
** (CompileError) lib/myapp_web/components/layouts.ex: cannot compile module MyappWeb.Layouts (errors have been logged)
First Post!
ariandanim
until now, theres no answer to solved it, perhaps this is bugs
Popular in Questions
** (DBConnection.ConnectionError) connection not available and request was dropped from queue after 2733ms. You can configure how long re...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]
15:22:35.803 [error] gen_event {lager_file_backend...
New
Hi guys, i’m new in the Elixir world, and i have to say, that i love it!
i’m having some problem to understand anonymous functions with ...
New
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
Could someone help me? I’m making my first elixir program, number guessing game. I can’t figure out how to convert the user’s guess from ...
New
Hi all,
I’ve just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage.
I’m trying to use Postgres...
New
I have a relationship of love and hate with Elixir. Lots of things are just absolutely right, but there are some things that are kind of ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
I have a User schema with a :from_id field set to type :string:
defmodule TweetBot.Repo.Migrations.CreateUsers do
use Ecto.Migration
...
New
Other popular topics
None of the current solutions worked well for me, so I went ahead and built a user management system from scratch.
This project took far...
New
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
Hello everyone,
I try to use an Javascript Event Handler in my root.html.leex file.
Therefore I created a function in the app.js file: ...
New
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: )
Hello all, this is ...
New
Forgive me if this is obvious, but how does one delete a database record WITHOUT selecting it first? Ecto.Repo — Ecto v3.14.0 has exampl...
New
Good day to you all.
I have been struggling to get a query involving like and ilike to work.
Can anyone assist me on this, please?
pro...
New
Hi everyone,
One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
Hey,
Just curious what are the main benefits of Elixir compared to Clojure?
When is Elixir more useful than Clojure and vice versa?
Th...
New
I’ve read in another post that it may be possible with a router helper - but I couldn’t find an appropriate one, and tbh, I’m still just ...
New
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









