BaseDir : /var/www/portal/live

TypeError : Argument 1 passed to Weiterbildungsserver\shared\classes\packages\Kru\Geo\GeoCoordinates::__construct() must be of the type float, null given, called in /var/www/portal/live/shared/classes/packages/Kru/Geo/Geo.php on line 397
0030|     * @param int $radius in Km
0031|     */
0032|    public function __construct(float $longitude = Geo::FALLBACK_LONGITUDE, float $latitude = Geo::FALLBACK_LATITUDE, $radius = 10){
0033|        $this->setCoordinates($longitude, $latitude, $radius);
0034|    }
0395|            $minimumLevel = min(array_keys($locationsByLevel));
0396|            $location = reset($locationsByLevel[$minimumLevel]);
0397|            $geoCoords = new GeoCoordinates($location->longitude, $location->latitude, $radius);
0398|            $geoCoords->calculateRect();
0399|            $coords = $geoCoords->getCoordinateMapping();
0106|            if ($this->umkreis > SearchHelper::UMKREIS_DIST_PLZ) {
0107|                // returns false in case of wrong data
0108|                $this->coordinates = $geo->findLocationByRadius($this->plz, $this->umkreis, Geo::GEO_COUNTRY_ID_DE);
0109|                if ($this->coordinates === null) {
0110|                    // mark error in Plz
0077|        $this->plz = $plz;
0078|        $this->setMapArea($mapArea);
0079|        $this->init();
0080|    }
0081|
0115|    private function preparedSearchHelper($plz = null, $umkreis = null): void
0116|    {
0117|        $searchHelperLocation = new SearchHelperLocation($plz, $umkreis, null);
0118|        $this->searchHelper = new SearchHelper();
0119|        $this->searchHelper->setTyp(SearchHelper::TYPE_KURS);
0148|        ];
0149|        foreach ($areas as $umkreis) {
0150|            $this->preparedSearchHelper($this->kurs->getPlzAttribute(), $umkreis);
0151|            $this->searchHelper->setRubrik($this->kurs->getRubrikenBwIdAttribute());
0152|            $this->process();
0051|    private function compile(): void
0052|    {
0053|        $this->searchFixRubrikVariableRadius();
0054|        $this->searchVariableRubrikVariableRadius();
0055|        $this->searchVariableRubrikIgnorePlz();
0043|    {
0044|        $this->kurs = $kurs;
0045|        $this->compile();
0046|    }
0047|
0092|        if (!$kurs->getAktivWebAttribute()) {
0093|            $this->action = 'alternatives';
0094|            $searchAlternativeHelper = new SearchAlternativeHelper($kurs);
0095|            $alternativen = $searchAlternativeHelper->getAlternativen();
0096|            $this->set('kursAlternativen', $alternativen);

0576|        $rm = $this->rc->getMethod($action);
0577|        $autoArgs = $this->buildInvokeArgumentsByMethodeSignature($rm);
0578|        return $rm->invokeArgs($this, $autoArgs);
0579|    }
0580|
0538|            return;
0539|        }
0540|        $this->runAction($this->action);
0541|        $this->afterAction();
0542|        if ($this->handleJsonResponse($display)) {
0150|        $controller = $prepareController->getController();
0151|        $action = $prepareController->getAction();
0152|        $controller->callAction($action, $args, $display);
0153|        return $controller;
0154|    }
0146|        /** @noinspection AdditionOperationOnArraysInspection */
0147|        $vars = $_GET + $_POST;
0148|        $appController = Controller::runControllerAction($path, $vars, false, 'wordpress_document');
0149|        // ajax Requests have ended here. runControllerAction does exit on them itself
0150|        Plugin::$plugin->appController = $appController;
0052|        // hier bereits laufen lassen damit der "alter" Controller Infos in Variablen legend kann
0053|        // auf die wp_title zugreifen kann ODER falls eine eventuelle AjaxResponse gesendet wird
0054|        $this->content = $this->runControllerAction($this->getPath());
0055|        // falls das Script im Controller nicht per exit ausgestiegen ist
0056|        // dann ist es keine Ajax response oder andere und somit ein gerenderter Inhalt
0286|                    $value = call_user_func( $the_['function'] );
0287|                } elseif ( $the_['accepted_args'] >= $num_args ) {
0288|                    $value = call_user_func_array( $the_['function'], $args );
0289|                } else {
0290|                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
0204|    array_shift( $args );
0205|
0206|    $filtered = $wp_filter[ $tag ]->apply_filters( $value, $args );
0207|
0208|    array_pop( $wp_current_filter );
0094|     * @param string $template The path of the template to include.
0095|     */
0096|    $template = apply_filters( 'template_include', $template );
0097|    if ( $template ) {
0098|        include( $template );
0017|
0018|    // Load the theme template.
0019|    require_once( ABSPATH . WPINC . '/template-loader.php' );
0020|
0021|}
0015|
0016|/** Loads the WordPress Environment and Template */
0017|require( dirname( __FILE__ ) . '/wp-blog-header.php' );

  1. shared/classes/packages/Kru/Geo/GeoCoordinates.php:32 N/A
  2. shared/classes/packages/Kru/Geo/Geo.php:397 Weiterbildungsserver\shared\classes\packages\Kru\Geo\GeoCoordinates->__construct()
  3. shared/classes/app/helper/SearchHelperLocation.php:108 Weiterbildungsserver\shared\classes\packages\Kru\Geo\Geo->findLocationByRadius()
  4. shared/classes/app/helper/SearchHelperLocation.php:79 Weiterbildungsserver\shared\classes\app\helper\SearchHelperLocation->init()
  5. shared/classes/app/SearchAlternativeHelper.php:117 Weiterbildungsserver\shared\classes\app\helper\SearchHelperLocation->__construct()
  6. shared/classes/app/SearchAlternativeHelper.php:150 Weiterbildungsserver\shared\classes\app\SearchAlternativeHelper->preparedSearchHelper()
  7. shared/classes/app/SearchAlternativeHelper.php:53 Weiterbildungsserver\shared\classes\app\SearchAlternativeHelper->searchFixRubrikVariableRadius()
  8. shared/classes/app/SearchAlternativeHelper.php:45 Weiterbildungsserver\shared\classes\app\SearchAlternativeHelper->compile()
  9. kurse/controllers/KursController.php:94 Weiterbildungsserver\shared\classes\app\SearchAlternativeHelper->__construct()
  10. N/A Weiterbildungsserver\kurse\controllers\KursController->index()
  11. shared/classes/core/data/Controller.php:578 ReflectionMethod->invokeArgs()
  12. shared/classes/core/data/Controller.php:540 Weiterbildungsserver\shared\classes\core\data\Controller->runAction()
  13. shared/classes/core/data/Controller.php:152 Weiterbildungsserver\shared\classes\core\data\Controller->callAction()
  14. wordpress/wp-content/plugins/weiterbildungsserverAccess/CallControllerBase.php:148 Weiterbildungsserver\shared\classes\core\data\Controller::runControllerAction()
  15. wordpress/wp-content/plugins/weiterbildungsserverAccess/CallControllerByLegacyUrl.php:54 Weiterbildungsserver\Access\CallControllerBase->runControllerAction()
  16. wordpress/wp-includes/class-wp-hook.php:288 Weiterbildungsserver\Access\CallControllerByLegacyUrl->includeTemplate()
  17. wordpress/wp-includes/plugin.php:206 WP_Hook->apply_filters()
  18. wordpress/wp-includes/template-loader.php:96 apply_filters()
  19. wordpress/wp-blog-header.php:19 require_once()
  20. wordpress/index.php:17 require()