| @@ -126,8 +126,11 @@ | ||
| 126 | 126 | * |
| 127 | 127 | * @return void |
| 128 | 128 | */ |
| 129 | 129 | public function init_classes() { |
| 130 | + if ( ! session_id() ) { | |
| 131 | + session_start(); | |
| 132 | + } | |
| 130 | 133 | self::register_custom_post_type(); |
| 131 | 134 | |
| 132 | 135 | ( new \Booktics\Base\Services\Post_Status_Service() )->register(); |
| 133 | 136 | |