I started seeing this error on a site we recently updated to 8.2.7.

After looking at the code, I created a patch to work around the error, since there are no get functions to get to the protected fields.

CommentFileSizeAuthor
#6 geshifilter-protected_property-2862298-6-7x.patch997 bytesnerdcore
#2 protected_property-2862298-2.patch953 bytesAnonymous (not verified)

Comments

Anonymous’s picture

rsmylski created an issue. See original summary.

Anonymous’s picture

Status: Active » Needs review
StatusFileSize
new953 bytes

  • yukare committed 9ea9a3a on 8.x-1.x authored by rsmylski
    Issue #2862298 by rsmylski: Error: Cannot access protected property...
yukare’s picture

Status: Needs review » Fixed

Thanks, I just commited this.
I will do some more work on issues with patch and create a new stable version of geshifilter soon, because without this change any new instalation will not work.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

nerdcore’s picture

Same patch backported to 7.x-1.x because the -dev release as of today does not work with GeSHi 1.0.9.0 without this.

It's the exact same change as the 8.x patch, but in a different file (geshifilter.pages.inc)

mrP’s picture

+1 RTBC for the 7.x backport patch.

yukare’s picture

Fixed in Drupal 7 with the commit https://git.drupalcode.org/project/geshifilter/commit/5dfacf3 thanks.