• Resolved saveatrain

    (@saveatrain)


    Plugin could not be activated because it triggered a fatal error.

    Fatal error: Cannot declare class api_client, because the name is already in use in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/the-holiday-calendar/clients/api-client.class.php on line 2

    this is what happened to me when i tried to load the plugin,
    do you know what caused this?

    thanks in advance,

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 72 total)
  • Plugin Author mva7

    (@mva7)

    Hi,

    This is caused because another plugin you installed uses the same identifier as we do. We will create a fix for this shortly.

    Regards,

    Mva7

    Thread Starter saveatrain

    (@saveatrain)

    Thank you very much for the fast response,
    Can you tell me when its fixed, so i can try to reinstall the plugin?
    * if you are having troubles, i can send you our full api list.

    Plugin Author mva7

    (@mva7)

    Hi,

    Should be fixed now after updating to latest version.

    Regards,

    Mva7

    Thread Starter saveatrain

    (@saveatrain)

    Now its installed, THANK YOU.

    However the shortcode is not showing on the page
    [thc-calendar title=”Upcoming Events” showholidays=”yes” country=”de” displaymode=”calendar” firstday=”su” numberofholidays=”3″ showpoweredby=”yes”]

    https://www.saveatrain.com/blog/holiday-calendar-planner/

    Did you think about allowing the user to pick the country from the actually shown widget
    INSTEAD of having it predefined?

    • This reply was modified 4 years, 6 months ago by saveatrain.
    Thread Starter saveatrain

    (@saveatrain)

    I was only able to make it work via shorcode, where i dragged the holiday calendar plugin to the shortcode widgets,
    and then implemented the new widget code in the page.

    – I would be very happy if the plugin have drop down to pick a country

    Plugin Author mva7

    (@mva7)

    Hi,

    we are closed until next monday. Starting from tuesday we will develop the drop down feature and check what is wrong with the short code. So a couple of days after that you will be able to install the new feature and possible fix.

    Regards,

    Mva7

    Thread Starter saveatrain

    (@saveatrain)

    thats great,
    also is there a way to make the calendar look like here?
    https://www.theholidaycalendar.com/

    Thread Starter saveatrain

    (@saveatrain)

    Hi,
    I wanted to followup to see if you are back and if you can implement dropdown to pick the countries
    + if you can change the design like its shown on your site ??

    Plugin Author mva7

    (@mva7)

    Hi,

    we are working on it and expect to ship it this weekend. Since you are promoting our plugin we can also provide you with some custom CSS to use this layout.

    Regards,

    Mva7

    Plugin Author mva7

    (@mva7)

    Hi,

    this short code should work:

    [thc-calendar title="Upcoming Events" showholidays="yes" country="us" displaymode="calendar" firstday="su" numberofholidays="3" showpoweredby="yes"]

    Problem is that WordPress changed the quotes to invalid characters on the documentation page.

    Regards,

    Mva7

    Btw. We are still working on drop down and custom styling

    • This reply was modified 4 years, 5 months ago by mva7.
    Thread Starter saveatrain

    (@saveatrain)

    good morning,

    can you remind me what will this shortcode fix?

    because the 2 main things i spoke are the css/design and the drop down for other countries.

    Plugin Author mva7

    (@mva7)

    Hi,

    drop down has been added in version 1.17.1. Please enable it in the widget settings or use the new short code option.

    Regards,

    Mva7

    ps. The CSS will be supplied tomorrow or the day after tomorrow.

    Thread Starter saveatrain

    (@saveatrain)

    great, good night, and good week.
    I will wait for the CSS and then update all together

    Plugin Author mva7

    (@mva7)

    Hi,

    you can insert this CSS after the existing CSS:

    .thc-calendar table td {
        text-align: center;
    }
    
        .thc-calendar table td a {
            color: #15a205;
            text-decoration: none !important;
            cursor: pointer;
        }
    
            .thc-calendar table tr.thc-calendar-row td a:hover {
                font-size: 150%;
            }
    
    .thc-calendar table caption {
        text-align: left;
        font-family: 'Open Sans', sans-serif;
        font-weight: 300;
        font-size: 200%;
        padding-bottom: 0.5em;
        color: #152b81;
    }
    
    .thc-calendar table th,
    .thc-calendar table td {
        font-weight: bold;
        height: 3em;
        width: 3em;
        border: 0 !important;
    }
    
        .thc-calendar table td.disabled {
            color: #e2eff8;
        }
    
    .thc-calendar table th {
        text-transform: uppercase;
        border-top: 1px solid #e2eff8 !important;
        text-align: center;
    }
    
    .thc-calendar table td {
        border-right: 1px solid #e2eff8 !important;
        border-bottom: 1px solid #e2eff8 !important;
        line-height: 1em;
    }
    
    .thc-calendar table tbody tr:nth-last-child(2) td {
        border-bottom: none !important;
    }
    
    .thc-calendar table tbody tr:last-child td {
        border: none !important;
    }
    
    .thc-calendar table tbody tr td:last-child,
    .thc-calendar table thead tr th:last-child{
        border-right: none !important;
    }
    
    .thc-calendar table {
        border-collapse: collapse;
        border: 0 !important;
    }
    
    .thc-calendar table {
        width: 100%;
        table-layout: fixed;
    }
    
    .thc-calendar {
        float: none;
        width: 100%;
        margin-bottom: 1em;
        font-family: 'Quicksand', sans-serif;
        font-size: 14px;
    }
    
    .thc-calendar {
        background-color: #f1f7fc;
        padding: 1em;
        margin: 0 0.5em 0 0.5em;
        -moz-border-radius: 0px;
        -webkit-border-radius: 3px 3px 3px 3px;
        border-radius: 3px 3px 3px 3px;
    }
    
    .thc-calendar .today {
        background-color: #e2eff8;
    }

    Add this to the <head> part:

    <link href='https://fonts.googleapis.com/css?family=Quicksand:400,700,300' rel='stylesheet' type='text/css'>

    Let us know if you need some additional customization in the CSS.

    Thanks for using our plugin!

    Regards,

    Mva7

    • This reply was modified 4 years, 5 months ago by mva7.
    Plugin Author mva7

    (@mva7)

    Edited previous message, please use latest version from this page.

Viewing 15 replies - 1 through 15 (of 72 total)
  • The topic ‘Fatal error’ is closed to new replies.