question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error while opening post: 1:1 Incorrectly eaten value

See original GitHub issue

Describe the bug

If I tap on any post, I get the following error:

Screenshot 2020-01-15 at 08 40 30

To Reproduce

Repo is here: https://github.com/destination-unknown/destination-unknown-frontend.

If you login and then you click on any post, it shows this error.

Expected behavior

Show me post.

Screenshots

This is a screenshot of the errors in the console.

Screenshot 2020-01-15 at 08 44 16

Applicable Versions:

  • Netlify CMS version: 2.10.6
  • Git provider: GitHub
  • OS: MacOS
  • Browser version: Brave Version 1.2.42 Chromium: 79.0.3945.117 (Official Build) (64-bit) & Chrome Version 79.0.3945.117 (Official Build) (64-bit)

CMS configuration

backend:
  name: git-gateway
  branch: master # Branch to update (optional; defaults to master)
publish_mode: editorial_workflow
media_folder: 'static/images/uploads' # Media files will be stored in the repo under static/images/uploads
public_folder: '/images/uploads' # The src attribute for uploaded media will begin with /images/uploads
collections:
  - name: 'blog' # Used in routes, e.g., /admin/collections/blog
    label: 'Blog' # Used in the UI
    folder: '_posts/blog' # The path to the folder where the documents are stored
    create: true # Allow users to create new documents in this collection
    slug: '{{slug}}' # Filename template, e.g., YYYY-MM-DD-title.md
    fields: # The fields for each document, usually in front matter
      - { label: 'Layout', name: 'layout', widget: 'hidden', default: 'blog' }
      - { label: 'Title', name: 'title', widget: 'string' }
      - {
          label: 'Short description',
          name: 'short_description',
          widget: 'string',
        }
      - { label: 'Publish Date', name: 'date', widget: 'datetime' }
      - { label: 'Featured Image', name: 'thumbnail', widget: 'image' }
      - { label: 'Body', name: 'body', widget: 'markdown' }

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
jkaancommented, Jan 15, 2020

Works again, thanks a lot!

1reaction
erezrokahcommented, Jan 15, 2020

Updating depends on your setup, either update your package.json to netlify-cms@2.10.7or netlify-cms-app@2.11.4 and run yarn install or npm run install. If you’re loading via unpkg it should auto update if you’re using a ^ like so:

<script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error Code 1292 - Truncated incorrect DOUBLE value - Mysql
This message means you're trying to compare a number and a string in a WHERE or ON clause. In your query, the only...
Read more >
6 Common Types of Eating Disorders (and Their Symptoms)
Not everyone will have every sign or symptom at once, but certain behaviors may signal a problem, such as (20):. behaviors and attitudes...
Read more >
Pyloric Stenosis (HPS): Symptoms, Treatment & Tests
When the pylorus thickens, food can't pass through. Pyloric stenosis symptoms include forceful vomiting, which may cause dehydration. Surgery ...
Read more >
How Did AT&T's $100 Billion Time Warner Deal Go So Wrong?
He said that the value of the deal at closing was $100.3 billion, and that The Times's analysis failed to account for the...
Read more >
RFC 2616: Hypertext Transfer Protocol -- HTTP/1.1
1. If the Request-URI is encoded using the "% HEX HEX" encoding [42], the origin server MUST decode the Request-URI in order to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found