You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just resolved an issue which was totally breaking my RSS reader page:
the split() method is deprecated as of PHP 5.3.0 (https://www.php.net/manual/ro/function.split.php#:~:text=split()%20is%20deprecated%20as,of%20the%20regular%20expression%20engine.); which produces an error in the file 'rss_parse.inc' (which would show up in the browser console as a generic 500 error when trying to read a specific RSS feed - although the error_log file stored on the server would contain the detailed error description).
the solution is to just replace:
list($ns, $el) = split( ':', $element, 2);
with
list($ns, $el) = explode( ':', $element, 2);
EDIT: oops, just saw that the file was edited years ago in this repo on git; I made the comment in reference to the project archive I checked on sourceforge: https://sourceforge.net/projects/magpierss/ - perhaps you want to update it there as well
The text was updated successfully, but these errors were encountered:
I just resolved an issue which was totally breaking my RSS reader page:
the split() method is deprecated as of PHP 5.3.0 (https://www.php.net/manual/ro/function.split.php#:~:text=split()%20is%20deprecated%20as,of%20the%20regular%20expression%20engine.); which produces an error in the file 'rss_parse.inc' (which would show up in the browser console as a generic 500 error when trying to read a specific RSS feed - although the error_log file stored on the server would contain the detailed error description).
the solution is to just replace:
list($ns, $el) = split( ':', $element, 2);
with
list($ns, $el) = explode( ':', $element, 2);
EDIT: oops, just saw that the file was edited years ago in this repo on git; I made the comment in reference to the project archive I checked on sourceforge: https://sourceforge.net/projects/magpierss/ - perhaps you want to update it there as well
The text was updated successfully, but these errors were encountered: