processwire / processwire-issues

ProcessWire issue reports.
45 stars 2 forks source link

ProcessPageEditLink: attempt to ready property "id" on null #1689

Closed Toutouwai closed 1 year ago

Toutouwai commented 1 year ago

Short description of the issue

After creating a link in a CKEditor field (in the case below I use the "Select Child Page" option), Tracy Debugger records an error: "Attempt to read property "id" on null in ...\Process\ProcessPageEditLink\ProcessPageEditLink.module:422"

2023-02-17_113120

Setup/Environment

ryancramerdesign commented 1 year ago

@Toutouwai I'm not seeing the issue here, and my line numbers don't match up with yours, so maybe it's already been fixed. But just in case, I updated a conditional to add an additional check. Please let me know if you continue to see it.

Toutouwai commented 1 year ago

Thanks