Hallo zusammen,
bin dabei eine Seite mit Wordpress 3.4.1 und einem gekauften Theme von YooTheme inkl. WidgetKit (http://www.yootheme.com) zu erstellen. Als ich die Seite das letzte Mal bearbeitet habe, war noch alles in Ordnung. Heute rufe ich die Seite auf und es wird mir ein Parse Error Fehler gemeldet.
Die Seite liegt bei 1&1 und der Server ist auf der PHP-Version 5 eingestellt. Die Fehlermeldung lautet:
Parse error: syntax error, unexpected T_VARIABLE in /homepages/36/d273841917/htdocs/nulleuro/wp-includes/option.php on line 225
Der Code von Option.php:
...
247 .... do_action( 'update_option', $option, $oldvalue, $_newvalue );
248 .... if ( ! defined( 'WP_INSTALLING' ) ) {
249 .... $alloptions = wp_load_alloptions();
250 .... if ( isset( $alloptions[$option] ) ) {
251 .... $alloptions[$option] = $_newvalue;
252 .... wp_cache_set( 'alloptions', $alloptions, 'options' );
253 .... } else {
254 .... wp_cache_set( $option, $_newvalue, 'options' );
255 .... }
256 .... }
257 ....
258 .... $result = $wpdb->update( $wpdb->options, array( 'option_value' => $newvalue ), array( 'option_name' => 259 .... $option ) );
260 ....
261 .... if ( $result ) {
262 .... do_action( "update_option_{$option}", $oldvalue, $_newvalue );
263 .... do_action( 'updated_option', $option, $oldvalue, $_newvalue );
264 .... return true;
265 .... }
266 .... return false;
267 .... }
Alles anzeigen
Ich habe schon Plugins deaktiviert und auch das Theme und Wordpress nochmal neu installiert. Hat alles nichts geholfen und jetzt weiß ich nicht mehr weiter ... Hat jemand noch eine Idee, was ich machen kann, bzw. wie der Fehler zu beheben ist??
LG
Heike