PHP Syntax Error

Updated on September 11, 2018 in FuneralPress
1 on September 5, 2018

I updated my customer’s site to FuneralPress 2.9.5 and FP Premium 1.6.3 this morning. When I did, the site broke. Looking at my server logs, I was getting the following error post update:

PHP Parse error: syntax error, unexpected ‘@’ in /var/www/html/domains/www.chesmorefuneralhome.com/wp-content/plugins/wp-funeral-press/admin/manageCharity.php on line 124

Sure enough, I found that line 124 of that file had the following:

if(!empty(@$_POST[‘charityname’]))

I got the site running again by removing the @, but wanted you to be aware that there appears to be a syntax error going out in the current release.

  • Liked by
Reply
0 on September 11, 2018

Thanks for the bug tip, I will check that out!

  • Liked by
Reply
Cancel
Loading more replies