{{category.name}}

{{category.name}}
Starting at {{category.lowprice}}€/person

{{category.name}} packages

{{category.description}}

Our offers

yii\base\ErrorException
Copied! Copy Stacktrace Search Stackoverflow Search Google Error

PHP Warningyii\base\ErrorException

Attempt to read property "id" on null

  • 1. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/models/Products.php at line 781
    772773774775776777778779780781782783784785786787788789790
                ->joinwith(['lookup', 'categories', 'branches'])
                ->all();
        }
        public static function getbybcname($name, $branch, $language)
        {
            $category = Categories::find()->where(['id' => $name, 'language' => $language])->one();
            $display = new Expression("JSON_EXTRACT(`lt`.`data`, '$.web')");
            return self::find()
                ->select(['products.*'])
                ->where(['products.status' => 'Active', 'products.language' => $language, 'cl.relatedid' => $category->id, 'lt.relatedid' => $branch])
                ->andwhere(['or', ['=', $display, true], ['=', $display, 'true']])
                ->orderby(['cl.sequence' => SORT_ASC])
                ->leftjoin('lookuptable as lt', 'lt.sourceid = products.id')
    			->leftjoin('lookuptable as cl', 'cl.sourceid = products.id')
                ->all();
        }
        public static function getcartprice($productid, $qty)
        {
            $product = self::find()
    
  • 2. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/models/Products.php at line 781 yii\base\ErrorHandler::handleError()
    775776777778779780781782783784785786787
        public static function getbybcname($name, $branch, $language)
        {
            $category = Categories::find()->where(['id' => $name, 'language' => $language])->one();
            $display = new Expression("JSON_EXTRACT(`lt`.`data`, '$.web')");
            return self::find()
                ->select(['products.*'])
                ->where(['products.status' => 'Active', 'products.language' => $language, 'cl.relatedid' => $category->id, 'lt.relatedid' => $branch])
                ->andwhere(['or', ['=', $display, true], ['=', $display, 'true']])
                ->orderby(['cl.sequence' => SORT_ASC])
                ->leftjoin('lookuptable as lt', 'lt.sourceid = products.id')
    			->leftjoin('lookuptable as cl', 'cl.sourceid = products.id')
                ->all();
        }
    
  • 3. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/controllers/ProductsController.php at line 246 – app\models\Products::getbybcname()
    240241242243244245246247248249250251252
    			$products = Categories::getCategoryitemsbyParentWeb('Sports', $center, $language);
    			return $this->renderPartial('_wp-listproductc',['products' => $products, 'center' => $center, 'language' => $language]);
    		} else {
                $categories = Categories::find()
                    ->where(['id'=> $category, 'language' => $language])
                    ->one();
                $products = Products::getbybcname($category, $center, $language);
                $data = ['Beginner' => [], 'Intermediate' => [], 'Advanced' => [], 'Children' => [], 'All' =>[]];
                foreach($products as $key => $model){ 
                   if(is_countable($model->difficulty_text) == true && count($model->difficulty_text) > 0){ 
                        foreach($model->difficulty_text as $key => $level){
                            $data[$level][] = [
                                'id' => $model->id, 
    
  • 4. app\controllers\ProductsController::actionIndex()
  • 5. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/vendor/yiisoft/yii2/base/InlineAction.php at line 57 – call_user_func_array()
    515253545556575859
            $args = $this->controller->bindActionParams($this, $params);
            Yii::debug('Running action: ' . get_class($this->controller) . '::' . $this->actionMethod . '()', __METHOD__);
            if (Yii::$app->requestedParams === null) {
                Yii::$app->requestedParams = $args;
            }
     
            return call_user_func_array([$this->controller, $this->actionMethod], $args);
        }
    }
    
  • 6. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/vendor/yiisoft/yii2/base/Controller.php at line 181 yii\base\InlineAction::runWithParams()
    175176177178179180181182183184185186187
            }
     
            $result = null;
     
            if ($runAction && $this->beforeAction($action)) {
                // run the action
                $result = $action->runWithParams($params);
     
                $result = $this->afterAction($action, $result);
     
                // call afterAction on modules
                foreach ($modules as $module) {
                    /* @var $module Module */
    
  • 7. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/vendor/yiisoft/yii2/base/Module.php at line 534 yii\base\Controller::runAction()
    528529530531532533534535536537538539540
            $parts = $this->createController($route);
            if (is_array($parts)) {
                /* @var $controller Controller */
                list($controller, $actionID) = $parts;
                $oldController = Yii::$app->controller;
                Yii::$app->controller = $controller;
                $result = $controller->runAction($actionID, $params);
                if ($oldController !== null) {
                    Yii::$app->controller = $oldController;
                }
     
                return $result;
            }
    
  • 8. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/vendor/yiisoft/yii2/web/Application.php at line 104 yii\base\Module::runAction()
    9899100101102103104105106107108109110
                $params = $this->catchAll;
                unset($params[0]);
            }
            try {
                Yii::debug("Route requested: '$route'", __METHOD__);
                $this->requestedRoute = $route;
                $result = $this->runAction($route, $params);
                if ($result instanceof Response) {
                    return $result;
                }
     
                $response = $this->getResponse();
                if ($result !== null) {
    
  • 9. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/vendor/yiisoft/yii2/base/Application.php at line 392 yii\web\Application::handleRequest()
    386387388389390391392393394395396397398
        {
            try {
                $this->state = self::STATE_BEFORE_REQUEST;
                $this->trigger(self::EVENT_BEFORE_REQUEST);
     
                $this->state = self::STATE_HANDLING_REQUEST;
                $response = $this->handleRequest($this->getRequest());
     
                $this->state = self::STATE_AFTER_REQUEST;
                $this->trigger(self::EVENT_AFTER_REQUEST);
     
                $this->state = self::STATE_SENDING_RESPONSE;
                $response->send();
    
  • 10. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/web/indexa.php at line 13 yii\base\Application::run()
    7891011121314
     
    require __DIR__ . '/../vendor/autoload.php';
    require __DIR__ . '/../vendor/yiisoft/yii2/Yii.php';
     
    $config = require __DIR__ . '/../../../../NGauge.php';
     
    (new yii\web\Application($config))->run();
     
    
  • 11. in /var/www/vhosts/ion-club.net/httpdocs/wp-content/plugins/NGauge/NGauge.php at line 126 – include_once('/var/www/vhosts/ion-club.net/htt...')
    120121122123124125126127128129130131132
    			  $controller = $matches[0];
    			  $action = $matches[1];
    		  } else {
    			  $action = $matches[0];
    		  }
    		  // Load your file - make sure the path is correct.
    		  include_once plugin_dir_path( __FILE__ ) . 'web/indexa.php';
    		  exit; // and exit
    	  }
      });
     
     
    	add_action( 'init', function(  ) use ($controller) {
    
  • 12. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/class-wp-hook.php at line 324 – {closure}()
    318319320321322323324325326327328329330
    				}
     
    				// Avoid the array_slice() if possible.
    				if ( 0 === $the_['accepted_args'] ) {
    					$value = call_user_func( $the_['function'] );
    				} elseif ( $the_['accepted_args'] >= $num_args ) {
    					$value = call_user_func_array( $the_['function'], $args );
    				} else {
    					$value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
    				}
    			}
    		} while ( false !== next( $this->iterations[ $nesting_level ] ) );
     
    
  • 13. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/class-wp-hook.php at line 348 – WP_Hook::apply_filters()
    342343344345346347348349350351352353354
    	 * @since 4.7.0
    	 *
    	 * @param array $args Parameters to pass to the callback functions.
    	 */
    	public function do_action( $args ) {
    		$this->doing_action = true;
    		$this->apply_filters( '', $args );
     
    		// If there are recursive calls to the current action, we haven't finished it until we get to the last one.
    		if ( ! $this->nesting_level ) {
    			$this->doing_action = false;
    		}
    	}
    
  • 14. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/plugin.php at line 565 – WP_Hook::do_action()
    559560561562563564565566567568569570571
    	}
     
    	if ( ! isset( $wp_filter['all'] ) ) {
    		$wp_current_filter[] = $hook_name;
    	}
     
    	$wp_filter[ $hook_name ]->do_action( $args );
     
    	array_pop( $wp_current_filter );
    }
     
    /**
     * Checks if any action has been registered for a hook.
    
  • 15. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/class-wp.php at line 418 – do_action_ref_array()
    412413414415416417418419420421422423424
    		 * Fires once all query variables for the current request have been parsed.
    		 *
    		 * @since 2.1.0
    		 *
    		 * @param WP $wp Current WordPress environment instance (passed by reference).
    		 */
    		do_action_ref_array( 'parse_request', array( &$this ) );
     
    		return true;
    	}
     
    	/**
    	 * Sends additional HTTP headers for caching, content type, etc.
    
  • 16. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/class-wp.php at line 813 – WP::parse_request()
    807808809810811812813814815816817818819
    	 *
    	 * @param string|array $query_args Passed to parse_request().
    	 */
    	public function main( $query_args = '' ) {
    		$this->init();
     
    		$parsed = $this->parse_request( $query_args );
     
    		if ( $parsed ) {
    			$this->query_posts();
    			$this->handle_404();
    			$this->register_globals();
    		}
    
  • 17. in /var/www/vhosts/ion-club.net/httpdocs/wp-includes/functions.php at line 1336 – WP::main()
    1330133113321333133413351336133713381339134013411342
     *
     * @param string|array $query_vars Default WP_Query arguments.
     */
    function wp( $query_vars = '' ) {
    	global $wp, $wp_query, $wp_the_query;
     
    	$wp->main( $query_vars );
     
    	if ( ! isset( $wp_the_query ) ) {
    		$wp_the_query = $wp_query;
    	}
    }
     
    
  • 18. in /var/www/vhosts/ion-club.net/httpdocs/wp-blog-header.php at line 16 – wp()
    101112131415161718192021
    	$wp_did_header = true;
     
    	// Load the WordPress library.
    	require_once __DIR__ . '/wp-load.php';
     
    	// Set up the WordPress query.
    	wp();
     
    	// Load the theme template.
    	require_once ABSPATH . WPINC . '/template-loader.php';
     
    }
    
  • 19. in /var/www/vhosts/ion-club.net/httpdocs/index.php at line 17 – require('/var/www/vhosts/ion-club.net/htt...')
    11121314151617
     *
     * @var bool
     */
    define( 'WP_USE_THEMES', true );
     
    /** Loads the WordPress Environment and Template */
    require __DIR__ . '/wp-blog-header.php';
    
$_GET = [
    'type' => 'products',
    'center' => '{{centre.id}}',
    'category' => '{{category.id}}',
    'language' => 'en',
];

Looking for a TAILORED MADE TRIP ?

TRAVEL WITH OUR PARTNERS

{{category.parent.name}} Equipment ION Club {{centre.nickname}}

{{category.equipment}}

Safety in practicing {{category.parent.name}} {{centre.name}}

{{category.safety}}

A word about

ION CLUB {{centre.nickname}}

{{centre.description}}

BEST PERIODS

{{centre.besttimes}}

WIND

{{centre.wind}}

WAVES

{{centre.waves}}

Flexibility

{{category.flexibility}}

HOW TO GO TO ION CLUB {{centre.nickname}} ?

{{centre.transportation}}

A story of pioneers SINCE 1985

years of experience

Countries

Centers

Sports

years of experience

Countries

CENTERS

Sports

The story of ION CLUB tells of people who have made their passion for every form of surfing their profession. Since its foundation in 1985, customer orientation, team spirit, innovation and professionalism have been the top priorities of our company. ION CLUB/Club Mistral has gained a lot of experience in the 30 years of its existence and has developed more and more into a people-oriented company, which focuses on communicating with guests and fulfilling their needs and wishes. With 17 water sports schools worldwide, we are one of the leaders in this sector. ION CLUB has a network of international partners in various countries. We want to be international and multicultural and express this by the selection of our staff, who currently come from 24 different countries.