I recently updated an installation of CMSMS from 1.8.2 to 1.11.7. All modules (core modules plus CGSimpleSmarty & CGExtensions) were updated to their latest versions as well.
After the update, the news summary page is returning the error "Undefined index: news_url in .../modules/News/action.default.php on line 304"
Take a look: http://centerforclergycare.com/news-resources
(There's also a "Undefined property: stdClass::$newsimage" error that wasn't there before the update and may or may not be related.)
The news detail page does not return any errors. Adding parameters to the {news} tag, or changing to a default summary template does not eliminate the error message.
Any suggestions? Thanks!
"news_url" error after update
Re: "news_url" error after update
In a production site, usually PHP errors should be logged but not visible. Notices are not errors, and for the most part won't affect the functionality of the site.
As a rule of thumb this should be disabled by either setting in php.ini display_errors=0 or (if your host settings allow you to) by using the following lines on the .htaccess file:
HTH
As a rule of thumb this should be disabled by either setting in php.ini display_errors=0 or (if your host settings allow you to) by using the following lines on the .htaccess file:
Code: Select all
# To prevent E_STRICT problems with PHP 5.3+ you can uncomment the following lines
# Note: These settings should only be enabled for production sites!
php_flag display_startup_errors 0
php_flag display_errors 0
php_flag html_errors 0
php_value docref_root 0
php_value docref_ext 0
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!