Viewing 10 replies - 1 through 10 (of 10 total)
  • Nicola Peluchetti

    (@nicolapeluchetti)

    we will release 2.1.8 today for that. to fix it you must add to file

    app/model/event-compatibility.php the following method

    /**
    	 * Returns Event instance permalink for FER compatibility.
    	 *
    	 * @return string Event instance permalink.
    	 */
    	public function getpermalink() {
    		return $this->get_runtime( 'instance_permalink' );
    	}

    https://take.ms/4E9bg

    absolute0net

    (@absolute0net)

    I added the above function to the file, cleared my browser cache and reloaded the page and I’m still getting the same error. Any other thoughts?

    Nicola Peluchetti

    (@nicolapeluchetti)

    absolute0net

    (@absolute0net)

    I’ve tried point 2 with no success. I also updated to 2.8.1 but it didn’t resolve the issue, I’m still getting the error. You can see for yourself at https://www.villageofwestfieldcenter.com/test-page/

    absolute0net

    (@absolute0net)

    In an effort to troubleshoot any plugin or theme conflicts I downloaded the 2.8.1 version and installed it on a base wordpress install.

    When I went to activated it, I got the following error:
    Fatal error: Call to a member function render() on a non-object in /var/www/vhosts/absolute0.net/httpdocs/gimOybiv3/wp-content/plugins/all-in-one-event-calendar/vendor/twig/Environment.php on line 300

    krannock

    (@krannock)

    I had this error tonight after updating the plugin.

    problem was solved by going to calendar themes and changing the theme and then changing it back again.

    Hope this helps.

    salty-sailor

    (@salty-sailor)

    +1 @krannock (I just changed from ‘gamma’ to ‘vortex’ theme and left it alone)

    MikeColes

    (@mikecoles)

    Thanks krannock. I had the same issue, activated a new theme, then re-activated the old one. Voila! All working again.

    there is no a big issue, i have done it and it is working well ??
    just run this query in your database:

    UPDATE wp_ai1ec_events SET timezone_name=’America/New_York’

    actually in updated plugin, there is a new field of timezone, and before this version there was no field so this field showing null data in database and error is appearing because of it

    in this query set your own time zone, i personally set ‘America/New_York’

    UPDATE wp_ai1ec_events SET timezone_name=’America/New_York’

    there is no a big issue, i have done it and it is working well ??
    just run this query in your database:

    UPDATE wp_ai1ec_events SET timezone_name=’America/New_York’

    actually in updated plugin, there is a new field of timezone, and before this version there was no field so this field showing null data in database and error is appearing because of it

    in this query set your own time zone, i personally set ‘America/New_York’

    UPDATE wp_ai1ec_events SET timezone_name=’America/New_York’

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Twig_Error_Runtime thrown’ is closed to new replies.