Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
Failure parsing JSONin fullcalendar

I am having problems with fullcalendar, some time ago this problem was not happening and suddenly it started to send me this error.

enter image description here

The code I am using for fullcalendar is as follows

document.addEventListener('DOMContentLoaded', function () {
var calendarEl = document.getElementById('calendar');
// var newDate = new Date(2021, 9, 13);

var calendar = new FullCalendar.Calendar(calendarEl, {
    initialView: 'timeGridWeek',
    locale: 'es',
    headerToolbar: {
        right: "timeGridWeek,timeGridDay,listWeek",
        center: "title",
        left: "prev,next"
    },


    // No muestro los fines de semana
    weekends: false,
    hiddenDays: [0, 6],
    // allDaySlot: false,

    // slotMinTime: '11:00',
    // slotMaxTime: '21:00',

    events: 'http://adm.local.com/ventanas/MostrarFeriados',

    // EventSources son los eventos que se van a mostrar en el calendario
    eventSources: [
        {
            url: 'http://adm.local.com/ventanas/MostrarEventos',
            color: '#00ff00',
            textColor: '#ffffff'
        }
    ],
    
});
calendar.render();

});

I have checked the PHP code I use and it returns the json correctly. Fullcalendar is not rendering it in the view.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!