Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'stripTime' Error #42

Open
ibrasdev opened this issue Jan 16, 2018 · 2 comments
Open

Cannot read property 'stripTime' Error #42

ibrasdev opened this issue Jan 16, 2018 · 2 comments
Labels

Comments

@ibrasdev
Copy link

Hello everybody,

When i try to access the calendar layout i dont get events on the page, i only got them when i access /full-calendar/load, this is the error i get :

Uncaught TypeError: Cannot read property 'stripTime' of undefined
    at v (fullcalendar.min.js:6)
    at u (fullcalendar.min.js:6)
    at t (fullcalendar.min.js:6)
    at s (fullcalendar.min.js:6)
    at fullcalendar.min.js:6
    at Object.success (fullcalendar.min.js:6)
    at j (jquery.min.js:2)
    at Object.fireWith [as resolveWith] (jquery.min.js:2)
    at x (jquery.min.js:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js:4)

This is my head layout :

{% block stylesheets %}
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ asset('bundles/fullcalendar/css/fullcalendar/fullcalendar.min.css') }}" />
{% endblock %}

{% block javascripts %}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="{{ asset('bundles/fullcalendar/js/fullcalendar/lib/jquery.min.js') }}"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-confirmation/1.0.7/bootstrap-confirmation.js"></script>
<script src="{{ asset('bundles/fosjsrouting/js/router.js') }}"></script>
<script src="{{ path('fos_js_routing_js', { callback: 'fos.Router.setData' }) }}"></script>
<script type="text/javascript" src="{{ asset('bundles/fullcalendar/js/fullcalendar/lib/moment.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/fullcalendar/js/fullcalendar/fullcalendar.min.js') }}"></script>
<script type="text/javascript" src="{{ asset('bundles/fullcalendar/js/fullcalendar/fullcalendar.default-settings.js') }}"></script>
{% endblock %}
@ibrasdev
Copy link
Author

ibrasdev commented Jan 16, 2018

I have verified the date format on the db and all seems to be okey. Im really lost

@ancarebeca
Copy link
Owner

Hi @ibrasdev ,

It's really hard to understand the problem I would recommend to use just one javascript version. I cannot reproduce the error, Have you changed any default configuration?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants