Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @sunny454; I still revieve the following error:

    Fatal error: Uncaught TypeError: Argument 1 passed to Ai1ec_Exception_Handler::handle_exception() must be an instance of Exception, instance of Error given in /<ROOTPATH>/public_html/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php:198 Stack trace: #0 [internal function]: Ai1ec_Exception_Handler->handle_exception(Object(Error)) #1 {main} thrown in /<ROOT PATH>/public_html/wp-content/plugins/all-in-one-event-calendar/lib/exception/handler.php on line 197

    Code in handler.php line 197-ish:

    	public function handle_exception( Exception $exception ) {
    		if ( defined( 'AI1EC_DEBUG' ) && true === AI1EC_DEBUG ) {
    		echo '<pre>';
    			$this->var_debug( $exception );
    			echo '</pre>';
    			die();
    		}
    

    tried changing to:

       public function handle_exception( $exception ) {
        if( $exception instanceof \Error ) {
            throw new \Exception( 'Exception re-throw', 0, $exception );
        }
        if ( defined( 'AI1EC_DEBUG' ) && true === AI1EC_DEBUG ) {
    

    as per https://cjhaas.com/blog/2017/02/24/one-event-calendar-time-ly-exceptionerror-problem/

    Is this solution still the way to solve this issue or is there anything else I should do (since post is couple of months old and you mentioned a new release)

    I’m using Ai1ec version 2.5.22

    Many thanks in advance!

    • This reply was modified 7 years, 3 months ago by iamXnl. Reason: changed addressee (@sunny454) to correct user

    Office 365 offers Sharepoint as website platform.
    You do not have a hosting space to deploy your own website software platform, like Direct Admin with MySQL etc.

    There are however projects to Single Sign On with your office365 user on a wordpress site. (example: https://github.com/psignoret/aad-sso-wordpress) This will take an extensive knowledge of how the environments work and which values you need.

    Still ; the wordpress site needs to be hosted somewhere else outside office365 and will/needs to be billed separately.

Viewing 2 replies - 1 through 2 (of 2 total)