WPIntell

Source evidence

Error activating plugin

Super Link Preview · support · 2014-12-22T10:59:00+00:00

complaintsentiment
mediumseverity
0.81relevance
1replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

1 / 30 rows with source links

3.3% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

29 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
danemanes unresolved
Hi Daniele, any suggestions on this error? Parse error: syntax error, unexpected ‘[‘ in /var/www/web191/html/staging/wp-content/plugins/super-link-preview/super-link-preview.php on line 258 private function shortcodes_url($content) { —–> $urls = []; $pattern = get_shortcode_regex(); https://wordpress.org/plugins/super-link-preview/ I just had the same error using php version 5.3 – I think maybe this is new syntax for php 5.4? http://php.net/manual/en/migration54.new-features.php I changed that line to be the old-fashioned: $urls = array(); and the plugin now seems to activate for me (haven’t tested if it actually works yet…!) Tom

Comments

1 shown
tomward 2015-03-05T12:13:00+00:00

I just had the same error using php version 5.3 – I think maybe this is new syntax for php 5.4? http://php.net/manual/en/migration54.new-features.php I changed that line to be the old-fashioned: $urls = array(); and the plugin now seems to activate for me (haven’t tested if it actually works yet…!) Tom