Bug #23224 Clarification Requested

Pages Manager shows “Undefined offset” following deleting entry

Version: 3.5.9 Reporter: americanbible

Upon deleting an entry from a channel that had a Pages URI, the Pages Manager threw:

Undefined offset: (the deleted entry entry_id)
ee/EllisLab/Addons/pages/mcp.pages.php, line 232

Steps To Reproduce: 1. Delete an entry in channel with Pages URI 2. Navigate to Developer > Add-On Manager > Pages module. 3. Error throw in headers.

Steps to Manually Fix: I was able to fix the warnings by: 1) From database, get content of exp_sites > site_pages 2) Deserialize 3) Remove all references to entry_id in deserialized array. 4) Serialize and base64 encode. 5) Move serialized data back to exp_sites > site_pages.

  • I’m not able to replicate it in the latest 3.5.11. I do see a bug fix in 3.5.8 that looks like it might apply:

    > Added a crossing guard to prevent PHP errors from entering traffic when the Pages module references non-existent entries.

    It looks like you’re already on 3.5.9, but given I can’t replicate, I think doing a quick update and retesting would be worthwhile.

    All I did in my test was go to the Entry Edit page, check an entry I knew had a page, select ‘delete’ and then delete it. So I’m not seeing a lot of places where we could differ there.

    Robin Sowell
    17th October, 2017 at 3:57pm

You must be signed in to comment on a bug report.

ExpressionEngine News

#eecms, #events, #releases