Вот одна из ошибок, но все они похожи:
Устарело: необязательный параметр $content, объявленный перед обязательным параметром $tag, неявно рассматривается как обязательный параметр в /home1/bici/public_html/font/wp-content/plugins/motopress-content-editor-lite/includes/ce/shortcode/ShortcodeCommon.php в строке 395
Это код в строке 395
Код: Выделить всё
function mp_span($atts, $content = null, $tag) {
extract(shortcode_atts(self::addStyleAtts(self::getAtts($tag)), $atts));
if (!empty($classes)) $classes = ' ' . $classes;
if (!empty($mp_style_classes)) $mp_style_classes = ' ' . $mp_style_classes;
if (!empty($style)) $style = ' style="' . $style . '"';
$spanClasses = "motopress-clmn mp-span{$col} " . self::handleCustomStyles( $mp_custom_style, $tag ) . $classes .
self::getMarginClasses( $margin ) . self::getBasicClasses( $tag, true ) . $mp_style_classes;
return '' . do_shortcode( $content ) . '';
}
Я, вероятно, переделываю сайт заново с нуля, так как это большая проблема для всех элементов, в том числе и на бэкэнде. Но может ли кто-нибудь помочь и исправить это, пока я создаю новый?
Подробнее здесь: https://stackoverflow.com/questions/793 ... king-and-o