Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Bug: Constants may only evaluate to scalar values in blog2social.php on line 39

$
0
0

Replies: 0

After update I get this message:

Warning: Constants may only evaluate to scalar values in /home/pedja/public_html/wp-content/plugins/blog2social/blog2social.php on line 39

At line 39 I found

define(‘B2S_PLUGIN_SYSTEMREQUIREMENT_PLUGINWARNING_WORDS’, array(‘hotlink’, ‘firewall’, ‘security’));

and replaced it with

const B2S_PLUGIN_SYSTEMREQUIREMENT_PLUGINWARNING_WORDS = array(‘hotlink’, ‘firewall’, ‘security’);

That fixed problem.

  • This topic was modified 10 seconds ago by pedjas.

Viewing all articles
Browse latest Browse all 59525

Trending Articles