A PHP Error was encountered

Severity: 8192

Message: Function create_function() is deprecated

Filename: geshi/geshi.php

Line Number: 4698

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4698
Function: _error_handler

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 4621
Function: _optimize_regexp_list_tokens_to_string

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 1655
Function: optimize_regexp_list

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2029
Function: optimize_keyword_group

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/geshi/geshi.php
Line: 2168
Function: build_parse_cache

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/libraries/Process.php
Line: 45
Function: parse_code

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/models/Pastes.php
Line: 517
Function: syntax

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 551
Function: getPaste

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/system/core/Exceptions.php:271)

Filename: view/raw.php

Line Number: 2

Backtrace:

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/themes/geocities/views/view/raw.php
Line: 2
Function: header

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 173
Function: include

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/core/MY_Loader.php
Line: 43
Function: _ci_load

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/application/controllers/Main.php
Line: 558
Function: view

File: /home/httpd/vhosts/scratchbook.ch/geopaste.scratchbook.ch/index.php
Line: 315
Function: require_once

array( 'name' => 'Blog Yazıları', 'singular_name' => 'Blog', 'add_new' => 'Yeni Blog Yazısı Ekle', 'add_new_item' => 'Yeni Blog Yazısı Ekle', 'edit' => 'Yazıyı Düzenle', 'edit_item' => 'Yazıyı Düzenle', 'new_item' => 'Yeni Blog Yazısı Ekle', 'view' => 'Yazıyı Görüntüle', 'view_item' => 'Yazıyı Görüntüle', 'search_items' => 'Blog Yazılarında Ara', 'not_found' => 'Yazı Bulunamadı', 'not_found_in_trash' => 'Yazı Bulunamadı', 'parent' => 'Tüm Blog Yazıları' ), 'show_ui' => true, 'capability_type' => 'post', 'supports' => array( 'title', 'editor', 'comments', 'thumbnail', 'post-formats', 'author', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes', 'post-formats' ), 'query_var' => true, 'menu_icon' =>'dashicons-location-alt', 'rewrite' => true, 'public' => true, 'menu_position' => 5, 'taxonomies' => array('post_tag','category'), 'hierarchical' => true, 'has_archive' => true, 'can_export' => true, ) ); register_post_type( 'kategorikliste', array( 'labels' => array( 'name' => 'Kategorik Liste', 'singular_name' => 'Kategorik Liste', 'add_new' => 'Yeni Ekle', 'add_new_item' => 'Yeni Ekle', 'edit' => 'Düzenle', 'edit_item' => 'Düzenle', 'new_item' => 'Yeni Ekle', 'view' => 'Görüntüle', 'view_item' => 'Görüntüle', 'search_items' => 'Ara', 'not_found' => 'Bulunamadı', 'not_found_in_trash' => 'Öğe Bulunamadı', 'parent' => 'Tümü' ), 'show_ui' => true, 'capability_type' => 'post', 'supports' => array( 'title', 'thumbnail' ), 'query_var' => true, 'menu_icon' =>'dashicons-editor-kitchensink', 'rewrite' => true, 'public' => true, 'publicly_queryable' => true, 'exclude_from_search' => true, 'menu_position' => 5, 'menu_position' => 5, 'has_archive' => false, 'rewrite' => array('slug' => 'kategorikliste'), ) ); } add_action( 'init', 'create_post_taxonomies', 0 ); add_action( 'init', 'create_post_taxonomies', 0 ); function create_post_taxonomies() { $labels = array( 'name' => _x( 'Yola Çıkılan Şehir', 'taxonomy general name' ), 'singular_name' => _x( 'Yola Çıkılan Şehir', 'taxonomy singular name' ), 'search_items' => __( 'Ara' ), 'all_items' => __( 'Tümüne Bak' ), 'parent_item' => __( 'Yola Çıkılan Şehir' ), 'parent_item_colon' => __( 'Yola Çıkılan Şehir:' ), 'edit_item' => __( 'Düzenle' ), 'update_item' => __( 'Güncelle' ), 'add_new_item' => __( 'Yeni Ekle' ), 'new_item_name' => __( 'Yeni Şehir' ), 'menu_name' => __( 'Yola Çıkılan Şehir' ), ); $args = array( 'hierarchical' => true, 'labels' => $labels, 'show_ui' => true, 'show_admin_column' => true, 'query_var' => true, 'has_archive' => true, 'rewrite' => array( 'slug' => 'sehir' ), ); register_taxonomy( 'sehir', array( 'post' ), $args ); }; function add_custom_types_to_tax( $query ) { if( is_category() || is_tag() && empty( $query->query_vars['suppress_filters'] ) ) { $post_types = get_post_types(); $query->set( 'post_type', $post_types ); return $query; } } add_filter( 'pre_get_posts', 'add_custom_types_to_tax' ); ?>