Hallo. Hoffentlich kann mir jemand helfen. Ich habe bereits viel gegoogelt, hat mich aber alles nicht weiter gebracht. Ich bin auch kein php Freak. Meine Seite foxcredit.ch läuft nicht mehr, ich erhalte diesen Fehler:
Parse error: syntax error, unexpected '{' in /home/itteach/public_html/Seiten/Markus/fox/wp-content/plugins/cta/classes/class.post-type.wp-call-to-action.php on line 1
Ich hier mal die paar ersten Zeilen reinkopiert:
<?php
if ( !class_exists('CTA_Call_To_Action_Post_Type') ) {
class CTA_Call_To_Action_Post_Type {
function __construct() {
self::load_hooks();
}
private function load_hooks() {
add_action('admin_init', array( __CLASS__ , 'rebuild_permalinks' ) );
add_action('init', array( __CLASS__ , 'register_post_type' ) );
add_action('init', array( __CLASS__ , 'register_category_taxonomy' ) );
/* Load Admin Only Hooks */