small medium large xlarge

The latest version of the book is P1.0, released 7 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B10.0 (28-Sep-19)
#85824
Paper page: 25

The word "Function" in the exception "UndefinedFunctionError" was missing a letter "c"--Jasmine Galang

  • Reported in: B10.0 (01-Oct-19)
#85832
PDF page: 26
The ebook the error complains: undefined function: HelloWeb.HelloView.render/2 (module HelloWeb.HelloView is not available) but in my termi...more...
  • Reported in: B10.0 (06-Oct-19)
#85841
Paper page: 154
There is "...having a hardcoded valid email and password..." in the first paragraph, but we using usernames instead of emails to identify the user. Al...more...
  • Reported in: B10.0 (26-Sep-19)
#85819
PDF page: 171
Paper page: 189
The mix test command on pdf shows 9 tests, but should actually be 6. On the previous page, the number of tests is 2, and 4 were added, leading 6. This...more...
  • Reported in: B9.0 (09-Oct-19)
#85856
PDF page: 183
Paper page: 165
In Part I, Chapter 8, the tests don't seem to have been updated to reflect changes made progressively to the Multimedia context. One example is on th...more...
  • Reported in: B9.0 (10-Oct-19)
#85859
PDF page: 187
Paper page: 169
In the "setup", I needed to also assign ":current_user" to "nil", not just implement "bypass_through", since the pipeline doesn't (yet) add that expec...more...
  • Reported in: B9.0 (10-Oct-19)
#85860
PDF page: 187
Paper page: 169
The solution I suggested in a previous erratum for this page involved the missing key :current_user on conn.assigns. That solution changed the test, ...more...
  • Reported in: P1.0 (11-Oct-19)
#85862
PDF page: 189
Paper page: 173

Variable "owner" is unused in the last test (line 25 in listing)--Pavel Abanichev

  • Reported in: B10.0 (29-Sep-19)
#85826
PDF page: 210
About programming the token in app.html.eex, the code needed to be added, namely: "<script type="text/javascript" src="<%= Routes.static_url(@conn, )...more...
  • Reported in: B9.0 (20-Aug-19)
#85704
PDF page: 217
The first line of the scheduleMessages function uses scheduleTimer instead of schedulerTimer: wrong: clearTimeout(this.scheduleTimer) right: cl...more...
  • Reported in: B9.0 (31-Jul-19)
#85642
Paper page: 295
the mix test command at the bottom of the page intermittently produces an error: mix test test/rumbl_web/channels/video_channel_test.exs . Fini...more...
José Valim says: Good catch! Basically the Presence wants to query the DB and send updates but the test has shut down and there are no database connections. To fix this consistently, we would need to query the presence supervisor and ask all of its children to shutdown at the end of each test. But to do so, we will need to add a new API to Phoenix. If you can open up an issue in Phoenix issues tracker, it would be extra helpful. Thank you!

Stuff To Be Considered in the Next Edition

  • Reported in: B9.0 (07-Aug-19)
#85659
PDF page: 188
On p.188 (of the PDF) the instruction is to create a param.ex file with a protocol implementation of to_param I followed the instructions verbatim an...more...