Conversation
supportIn modules/logs/classes/class-log-manager.php, this is causing a php warning in the frontend: if ( ! empty( $this->settings->options['enabled'] ) ) { add_action( 'mainwp_module_log_render_db_size_notice', array( $this->admin, 'render_logs_db_notice' ), 10, 1 ); } add_action( 'mainwp_module_log_render_db_update_notice', array( $this->admin, 'render_update_db_notice' ), 10, 1 ); because $this->admin is not defined in the frontend (causing dynamic images not to be generated due to php warnings). Wrapping this in a is_null check works: if (!is_null(($this->admin))) { if ( ! empty( $this->settings->options['enabled'] ) ) { add_action( 'mainwp_module_log_render_db_size_notice', array( $this->admin, 'render_logs_db_notice' ), 10, 1 ); } add_action( 'mainwp_module_log_render_db_update_notice', array( $this->admin, 'render_update_db_notice' ), 10, 1 ); }
Hey @liedekef Thanks for reporting this to us. We will have it fixed in an upcoming release.
A fix for this issue was included in version v6.1 of MainWP Dashboard. Thanks again for reporting this to us.
Hey @liedekef Thanks for reporting this to us. We will have it fixed in an upcoming release.
A fix for this issue was included in version v6.1 of MainWP Dashboard. Thanks again for reporting this to us.