Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Contributor Nick Young

    (@nickyoung87)

    What exactly happens? I need more details in order to try helping.

    Thread Starter klausenlie

    (@klausenlie)

    Hi Nick.

    In order to look at exactly what happens it`s best to take a look at the site.
    It`s at https://skolen.tylldalen.no

    When I place the widget in the right sidebar, I can see the widget title. I haven`t connected it to the Google Calendar yet. I can only see the top navigation arrows in it. No calendar.

    What happens more is that the menu you now see in the right sidebar disappears and so does the whole footer and the gallery carousel I`ve got in the top.

    You can get a login if you want.
    Should I mail it to you

    Tommy

    Plugin Contributor Nick Young

    (@nickyoung87)

    When I place the widget in the right sidebar, I can see the widget title. I haven`t connected it to the Google Calendar yet. I can only see the top navigation arrows in it. No calendar.

    Well it’s not going to work without the calendar being added. Does it work if you add that in?

    Thread Starter klausenlie

    (@klausenlie)

    Hi.

    I believe that my settings should be right now, but still no calendar being shown.

    Can you give me a hand at this and look at my site and my Google calendar if I supply the login information?

    Plugin Contributor Nick Young

    (@nickyoung87)

    Have you gone through all the steps in the docs like these:

    Google API Key
    Google Calendar ID
    Creating a new calendar
    Making your calendar public

    If you did then can you send over or screenshot me your settings for the calendar so that I can see if anything looks out of place? Are you getting any error messages?

    You could try turning WP_DEBUG on to see if it spits out any error messages or you can try checking your error logs on your server.

    Thread Starter klausenlie

    (@klausenlie)

    OK. Should I use an email for that?

    Plugin Contributor Nick Young

    (@nickyoung87)

    You could just link them here using dropbox, jing, or some kind of image sharing app.

    Thread Starter klausenlie

    (@klausenlie)

    Plugin Contributor Nick Young

    (@nickyoung87)

    And you didn’t get any error messages with WP_DEBUG turned on or in your error logs?

    What are the other calendar settings you have set (via plugin) and what are the widget settings?

    Try running through this also: https://docs.simplecalendar.io/troubleshooting-theme-plugin-widget-conflicts/

    Thread Starter klausenlie

    (@klausenlie)

    When using WP_DEBUG I get this where the plugin is placed:

    Warning: require(/chroot/home/tylldale/skolen.tylldalen.no/html/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/nb.php): failed to open stream: No such file or directory in /chroot/home/tylldale/skolen.tylldalen.no/html/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 962 Fatal error: require(): Failed opening required ‘/chroot/home/tylldale/skolen.tylldalen.no/html/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Lang/nb.php’ (include_path=’.:/usr/share/pear:/usr/share/php’) in /chroot/home/tylldale/skolen.tylldalen.no/html/wp-content/plugins/google-calendar-events/vendor/nesbot/carbon/src/Carbon/Carbon.php on line 962

    Plugin Contributor Nick Young

    (@nickyoung87)

    What language is your site in?

    I notice it is trying to load nb.php and I saw this issue with the carbon library: https://github.com/briannesbitt/Carbon/issues/527

    Could possibly be related if you are running the site in that language?

    Thread Starter klausenlie

    (@klausenlie)

    I am running my site in norwegian.

    Seems that a file is referenced that is not there or is named something else.
    I can see there`s a file named no.php in the directory referenced. Should it be that one instead of nb.php?

    Tommy

    Thread Starter klausenlie

    (@klausenlie)

    And I use what is referred to in the link as Norwegian Bokm?l. That`s the nb.

    Plugin Contributor Nick Young

    (@nickyoung87)

    I think the thing is that there are 2 different locales (from my understanding) one is no and one is nb. If you want to try it you could try making a copy of the no.php file and renaming it to nb.php to see if it actually resolves the issue. If it does then I can see if Carbon will get this fixed or try to get a fix for them. If they don’t do it then we will figure out something on our side to make sure we can make it work. This is, of cource, if you try using an nb.php file and it works correctly after that.

    If you don’t want to try that then that is fine too, but it just might take us a little longer to get a proper solution.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Widget problem, breaks my theme layout’ is closed to new replies.