Support » Plugin: Event Calendar - Calendar » Promising, but no quite there yet….

  • Seems a bit hasty programming: when I tried to active the plugin I get a fatal error on line 1639 of Total-Soft-Calendar-Widget.php which I corrected myself (assuming the author meant to define an array).

    • This topic was modified 6 years, 7 months ago by Cees Rijken.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author totalsoft

    (@totalsoft)

    I don’t know why you have that problem, but you can write us on our email address and we will try to solve it for you. Our Team is ready to help you. Please write us.

    Thank You.

    Thread Starter Cees Rijken

    (@connectcase)

    Line 1639 was:

    $TotalSoft_Date_Months = [‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’, ‘October’, ‘November’, ‘December’];

    so it gave a fatal error saying “[ is unexpected”….

    I figured you meant to define an array of months (right?), so I turned it into:

    $TotalSoft_Date_Months = array(‘January’, ‘February’, ‘March’, ‘April’, ‘May’, ‘June’, ‘July’, ‘August’, ‘September’, ‘October’, ‘November’, ‘December’);

    Plugin Author totalsoft

    (@totalsoft)

    OK, we know that way to make arrays. But there are servers that don’t knows array() in PHP and they required to call [”]. That is why we made by that way. Please if you found and solve that problem don’t make for us negative reputation.

    Thank You.

    Thread Starter Cees Rijken

    (@connectcase)

    No, it’s the other way around!

    array() < PHP 5.4
    array[] >= PHP 5.4

    You have chose to use a newer way to define an array and not take older versions into consideration. You should have used the old way…..

    Plugin Author totalsoft

    (@totalsoft)

    No, no. we are using old version for calling arrays. But in some new versions in any servers, it doesn’t know that type.

    What we can do?

    Thank you.

    Thread Starter Cees Rijken

    (@connectcase)

    Nothing, I already solved by using the old version….

    Plugin Author totalsoft

    (@totalsoft)

    Dear @connectcase.

    If you solved that problem please don’t make for us bad reputation. You can ask us about your problem and we will make it for you. It a not problem for us. Please.

    Thank You.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Promising, but no quite there yet….’ is closed to new replies.