• Hello,

    The blog is in french, so i renamed the category “Events” to “Evénements” and keep the ID of category “events” but now i have a bug :
    Object of class WP_Error could not be converted to string in /home/www/blog/www/section/wp-content/plugins/the-events-calendar/the-events-calendar.class.php on line 795

    So i need to rename category as “Events” before that you repair this issue.

    Thanks

Viewing 1 replies (of 1 total)
  • Go to: plug-ins/the-events-calendar folder and open this file: “the-events-calendar.class.php”

    At the start of the file (see below) change “Event” to “Evénements” in this example I have changed it to the Swedish “kalendar”

    This has worked for me so far, but maybe it has to be changed elsewhere….

    <?php
    if ( !class_exists( ‘The_Events_Calendar’ ) ) {
    /**
    * Main plugin
    */
    class The_Events_Calendar {
    const VERSION = ‘1.6.4’;
    const EVENTSERROROPT = ‘_tec_events_errors’;
    const CATEGORYNAME = ‘kalendar‘;
    const OPTIONNAME = ‘sp_events_calendar_options’;

    Blah blah blah lots of code ——————————————————————–

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: The Events Calendar] Issue if i rename the "Events" category’ is closed to new replies.