EventON 4.4 is Live Now! - What's new?


Ticket #325445 Public

The EventON Weekly View add-on (2.0.1) does not work with recent versions of EventON core.

As the subject says, the latest version of EventON Weekly View does not work with recent versions of EventON core. It will deactivate itself automatically. I have written a patch to fix this:

— eventon-weekly-view.php 2023-09-07 16:33:18
+++ eventon-weekly-view-modified.php 2023-09-07 16:33:14
@@ -32,13 +32,17 @@
return self::$_instance;
public function __construct(){
+ $this->super_init();
+ add_action(‘plugins_loaded’, array($this, ‘plugin_init’));
+ }
+ public function plugin_init(){
// check if eventon exists with addon class
if( !isset($GLOBALS[‘eventon’]) || !class_exists(‘evo_addons’) ){
add_action(‘admin_notices’, array($this, ‘notice’));
return false;

– $this->super_init();
$this->addon = new evo_addons($this->addon_data);

No newline at end of file

BY: Kodie Grantham - Sep 8,2023 AT 8:19AM - 1 day ago
    • By: infotainerdave Sep 8,2023 AT 10:52AM - Posted 2 days ago - #325463

      thats odd as it works on our test sites. are you using eventon core 4.4.4

    • By: Kodie Grantham Sep 8,2023 AT 2:55PM - Posted 1 day ago - #325510

      Yup, I have EventOn 4.4.4 and EventON – Weekly View 2.0.1.


      The Weekly View plugin displays this message without my patch:

      EventON WeeklyView is NOT active! – You do not have EventON main plugin, which is REQUIRED.

    • By: Kodie Grantham Sep 8,2023 AT 2:57PM - Posted 1 day ago - #325511

      My patch basically mimics the way the RSVP add-on handles checking for the core plugin.

    • By: Kodie Grantham Sep 8,2023 AT 3:00PM - Posted 1 day ago - #325512

      I’m not sure if it has anything to do with the fact that with the way we install plugins, EventON core gets installed to an eventon directory instead of eventON (because Composer requires package names be all lowercase) and maybe that messes up the order of loading plugins. But with my patch making the weekly view add-on check for core the same way the other add-ons do it fixes it.

You must login to reply to this ticket


Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON