Postponed (maintainer needs more info)
Project:
Shortcode
Version:
7.x-2.22
Component:
Miscellaneous
Priority:
Critical
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
5 Feb 2018 at 11:53 UTC
Updated:
5 Mar 2018 at 17:37 UTC
Jump to comment: Most recent
Comments
Comment #2
denes.szabo commentedHow old your PHP? (My tip is, it's outdated).
Comment #3
bramvandenbulcke commentedI had the same issue on a website on PHP 5.3.29:
Time to move to a newer PHP version, I guess.
Comment #4
nsherzog commentedI'm also experiencing this problem (running 7.22, upgrading to 7.25 gives WSOD)
I'm running PHP 5.3.3
Is there a required version of PHP for this module?
Comment #5
denes.szabo commentedThe PHP site says: As of PHP 5.4 you can also use the short array syntax, which replaces array() with [].
(http://php.net/manual/en/language.types.array.php)
Today the supported PHP version is 5.6 or newer. http://php.net/supported-versions.php
It's not a big issue, I will change back the old array syntax, but I think, not the best practice to use long time outdated software. It's your responsibility to refresh your PHP.
Comment #7
denes.szabo commentedJust rolled out the 7.x-2.26 release. Please check this version in your server with your (old) PHP.
Comment #8
denes.szabo commentedComment #9
Anonymous (not verified) commentedI just updated the 7.x-2.22 version to 7.x-2.26 and get an WSOD too. I'm running PHP 5.6.33.
Comment #10
denes.szabo commented@jds23 Can you give me more information about this WSOD? PHP log, what ShortCode did you use, etc.
Comment #11
Anonymous (not verified) commented@Denes.Szabo Okay it's not a WSOD, it's a HTTP Error 500.
This is what the webspace backend says:
2018-02-26 11:11:27 Error 223.24.120.241 500 GET / HTTP/1.1 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 334 Apache-Zugriff
2018-02-26 11:11:28 Warning 223.24.120.241 mod_fcgid: stderr: PHP Fatal error: Call to undefined function _shortcode_tags() in /var/www/vhosts/smarte-seiten.de/httpdocs/hcode.dev-ok.de/sites/all/modules/nikadevs_cms/nikadevs_cms.module on line 419 Apache-Fehler
I installed the Hcode Theme from Nikadevs. The real error seems to be located in their module I guess.
Comment #12
denes.szabo commentedjds23: seems Nikadevs theme developer knows nothing about input formats and how should use the APIs. :(
I know about nothing Nikadevs cms - it's developer should support newer versions of the ShortCode module, if he used it.
We usually regards functions with _ start as private functions. We do not call these functions directly.
There was a similar issue: https://www.drupal.org/project/shortcode/issues/2918073 - this solution will help you to solve your problem.
Comment #13
aleinad commentedthe upgrade from 7.x-2.25 to 7.x-2.26 gives me the WSOD in all my Drupal pages
is anybody else getting this issue?