-
-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ErrorException (E_ERROR) Trying to get property 'portalDataInfo' of non-object #36
Comments
@myurtsev, thanks for reporting. So, why don't you use the getPortalNames() and setPortalName() methods? As far as my code shows, the portalName property is private. |
Sorry, I can't get the reason so far. The error message 'Trying to get property 'portalDataInfo' of non-object' means to access the portalDataInfo property, but the all portalDataInfo property access are doing after checking to exist the portalDataInfo property. If you don't mind, could you show me your code and FMDB? |
When I dump $show, it shows all the data including the portal data. Then when I try to get the portal data:
It throws the error mentioned above. |
@myurtsev Sorry for late. Could you check to contain the 'portalDataInfo' property in the 'data' property of $show variable? |
I get the following error when I try to fetch the data in a portal (with the FM18 release):
ErrorException (E_ERROR)
Trying to get property 'portalDataInfo' of non-object
I tried it like this: $record->nameoftheportal
This worked with the FM17 version. The portal and the data exists in $record.
Any idea?
The text was updated successfully, but these errors were encountered: