Parse error
-
da erro apos a instalação e nao consigo ativar
Parse error: syntax error, unexpected ‘class’ (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or ‘{‘ or ‘$’ in /home/benet243/public_html/infonexus.com.br/wp-content/plugins/elevaweb/elevaweb_networks_core.php on line 263
Codigo
abstract class Elevaweb_Social_Meta_Box
{
public static function add()
{
$screens = [‘post’];
foreach ($screens as $screen) {
add_meta_box(
‘elevawebmetabox145898’, // Unique ID
‘Auto post on social media’, // Box title
[self::class, ‘html’], // Content callback, must be of type callable
$screen,
“side”,
“high”,
null // Post type
);
}
}
The topic ‘Parse error’ is closed to new replies.