If a menu item exists but there is no page_title parameter set, then indexing will throw a PHP notice. This PR suppresses the notice by first checking that the parameter exists.
@chrisdavenport
Could you please add a test instructions so that others can reproduce this issue?
This issue is somewhat difficult to reproduce:
when you create a new menu item,the page_title is added to parameters:
"page_title":""
Do you have to remove that parameter via phpMyAdmin to trigger the error?
Thanks!
I don't know how you would get to the point where you have a menu item without the page_title parameter being set, so the easiest way to test this PR is, as you suggest, to use phpMyAdmin to manually remove it from a menu item that points to an article.
@chrisdavenport
Could you please add a test instructions so that others can reproduce this issue?
This issue is somewhat difficult to reproduce:
when you create a new menu item,the page_title is added to parameters:
"page_title":""
Do you have to remove that parameter via phpMyAdmin to trigger the error?
Thanks!
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6847.