Noch zwei grundsätzliche Fragen.
Würde es gff. Sinn machen eine alte WP Version von 2018 aufzusetzen und den Test ohne UPdate durchführen?
Könnte man das Problemplugin mittels search and replace aus allen Seiten auskommentieren und würde dann die Seite im Notbetrieb laufen oder kann ein Plugin alleine dieses Notbetrieb verhindern?
Werde beim neuen Auflauf auch auf PHP 7.2 upgraden,, im MOment läuft 5.4 🙁
Gruss und Danke
Fehler 1:
Fatal error: Uncaught Error: Call to undefined function uberMenu_easyIntegrate() in /home/www/2dct/wp-content/themes/kuchen-hit/header.php:49 Stack trace: #0 /home/www/2dct/wp-includes/template.php(722): require_once() #1 /home/www/2dct/wp-includes/template.php(671): load_template('/home/www/2dct/...', true) #2 /home/www/2dct/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/www/2dct/wp-content/themes/kuchen-hit/index.php(1): get_header() #4 /home/www/2dct/wp-includes/template-loader.php(78): include('/home/www/2dct/...') #5 /home/www/2dct/wp-blog-header.php(19): require_once('/home/www/2dct/...') #6 /home/www/2dct/index.php(17): require('/home/www/2dct/...') #7 {main} thrown in /home/www/2dct/wp-content/themes/kuchen-hit/header.php on line 49
Auszug Header:
</div>
<div id="menu-and-search">
<div id="menu">
<?php uberMenu_easyIntegrate(); ?>
</div>
</div>
Uebermenue Fehlermeldung im Plugineditor:
Fatal error: Uncaught Error: Function name must be a string in /home/www/2dct/wp-content/plugins/ubermenu/core/sparkoptions/SparkOptions.class.php:283 Stack trace: #0 /home/www/2dct/wp-content/plugins/ubermenu/core/sparkoptions/SparkOptions.class.php(225): UberSparkOptions->showAdminOption('wpmega-style-pr...', Array, 'sub-container s...') #1 /home/www/2dct/wp-includes/class-wp-hook.php(286): UberSparkOptions->show('') #2 /home/www/2dct/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array) #3 /home/www/2dct/wp-includes/plugin.php(465): WP_Hook->do_action(Array) #4 /home/www/2dct/wp-admin/admin.php(253): do_action('appearance_page...') #5 /home/www/2dct/wp-admin/themes.php(10): require_once('/home/www/2dct/...') #6 {main} thrown in /home/www/2dct/wp-content/plugins/ubermenu/core/sparkoptions/SparkOptions.class.php on line 283
if( is_array( $default) && isset( $default[0] ) && $default[0] == 'execute' ){
$default = $default[1]->$default[2]();
}
Fehler 1:
Warning: Parameter 2 to title_like_posts_where() expected to be a reference, value given in /home/www/2dct/wp-includes/class-wp-hook.php on line 286
[google-translator]
Auszug aus Class-wp
public function apply_filters( $value, $args ) {
if ( ! $this->callbacks ) {
return $value;
}
$nesting_level = $this->nesting_level++;
$this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
$num_args = count( $args );
do {
$this->current_priority[ $nesting_level ] = $priority = current( $this->iterations[ $nesting_level ] );
foreach ( $this->callbacks[ $priority ] as $the_ ) {
if ( ! $this->doing_action ) {
$args[0] = $value;
}
// Avoid the array_slice if possible.
if ( $the_['accepted_args'] == 0 ) {
$value = call_user_func_array( $the_['function'], array() );
} elseif ( $the_['accepted_args'] >= $num_args ) {
$value = call_user_func_array( $the_['function'], $args );
} else {
$value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
}
}
} while ( false !== next( $this->iterations[ $nesting_level ] ) );
unset( $this->iterations[ $nesting_level ] );
unset( $this->current_priority[ $nesting_level ] );
$this->nesting_level--;
return $value; }
DANKE für Eure Zeit
Moderationshinweis: Bitte, bitte, verwende doch bei neuen Nachrichten den [code]-Button in der Formatierungsleiste. Diesen Beitrag nachträglich zu editieren hat mich viel unnötige Zeit gekostet.