Page 1 of 1

Error - Notice: Undefined index: objectPermissions

Posted: Sun Sep 17, 2017 11:53 pm
by Skyline
I just downloaded and installed ProcessMaker on Windows 2012 server. This is fresh install, and it is not any upgrades. And I followed below tutorial:
http://wiki.processmaker.com/3.0/gettin ... he_Process

So far everything is fine, I was able to process one case. But I got below error when I double-click to see Participated item.
Notice: Undefined index: objectPermissions in C:\Bitnami\processmaker-3.2.1-0\apps\processmaker\htdocs\workflow\engine\methods\cases\cases_Resume.php

I am new to ProcessMaker, and I would really appreciate if someone can help me. I looked at the source file, cases_Resume.php. But I said myself that is a lot work to troubleshoot :shock:

Re: Error - Notice: Undefined index: objectPermissions

Posted: Mon Sep 18, 2017 4:35 am
by programerboy
Hi,

You can disable notice errors in your php.ini or disable it with set this code in your env.ini file in "C:\Bitnami\processmaker-3.2.1-0\apps\processmaker\htdocs\workflow\engine\config" path:
Code: Select all
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED

or 

display_errors = Off;
Thanks

Re: Error - Notice: Undefined index: objectPermissions

Posted: Tue Sep 19, 2017 12:49 am
by amosbatto
I wonder if this is a bug in Bitnami. I can't replicate it in my manual installation of PM 3.2.1 in Debian. I don't have a Windows machine to see if it is a problem.

Please file a bug report about it at http://bugs.processmaker.com and post a link to your bug report here.

Re: Error - Notice: Undefined index: objectPermissions

Posted: Tue Sep 26, 2017 9:00 pm
by amosbatto
I investigated further and found the bug. See the workaround I posted in the bug report:
http://bugs.processmaker.com/view.php?id=22952

Re: Error - Notice: Undefined index: objectPermissions

Posted: Mon Nov 25, 2019 11:23 pm
by Brave21
Hello. I'm getting the same error when trying to open a participated case. I installed ProcessMaker on AWS using Bitnami. The below link doesn't work so I cannot see the workaround.

http://bugs.processmaker.com/view.php?id=22952
https://aws.amazon.com/marketplace/pp/B ... B0153PPVDC

Re: Error - Notice: Undefined index: objectPermissions

Posted: Tue Nov 26, 2019 1:37 am
by programerboy
Hi,
From version 3.2.3 onwards, unfortunately, the summary form display access was removed in the community version of the program.
As a result, in order to avoid this problem, go through the designer menu and your process and click on permissions menu and get access forms and etc to your user groups.

https://pmlearning.info
Thanks

Re: Error - Notice: Undefined index: objectPermissions

Posted: Tue Nov 26, 2019 4:04 am
by Brave21
Hi, thanks for the reply. I don't fully understand however. Do you mean "remove access forms" or something else when you say "get"? I've already given permission to everything for the user and still get the error. Also is there a specific video I should be reviewing from the link you shared? Is there a permission I need to add to the user role?

Re: Error - Notice: Undefined index: objectPermissions

Posted: Wed Nov 27, 2019 12:27 am
by programerboy
Hi,

Like your picture you must create a permission for your users group, but you must set the "participation required" to YES
for users who havefor users involved in the process cycle.

https://pmlearning.info
Thanks

Re: Error - Notice: Undefined index: objectPermissions

Posted: Wed Nov 27, 2019 3:32 am
by Brave21
Thanks I'll try that.

Re: Error - Notice: Undefined index: objectPermissions

Posted: Fri Jan 10, 2020 4:35 am
by KrishnaGujar
Great Information was very useful for me..

Civil Design course in Hyderabad

Re: Error - Notice: Undefined index: objectPermissions

Posted: Tue Jun 02, 2020 4:17 pm
by kozmi997
Hello !
I'm using 3.3.4-cummunity version and I get this error even than I have fixed the permissions to Group of users as suggested.
Can you please help me how to fix this error :
Undefined index: objectPermissions in /var/www/processmaker/workflow/engine/methods/cases/cases_Resume.php on line 58

Thanks for your help and time !
Kind regards
Kozmi

Re: Error - Notice: Undefined index: objectPermissions

Posted: Fri Jun 12, 2020 9:53 pm
by rorybrakus
kozmi997 wrote: Tue Jun 02, 2020 4:17 pm Hello !
I'm using 3.3.4-cummunity version and I get this error even than I have fixed the permissions to Group of users as suggested.
Can you please help me how to fix this error :
Undefined index: objectPermissions in /var/www/processmaker/workflow/engine/methods/cases/cases_Resume.php on line 58

Thanks for your help and time !
Kind regards
Kozmi
you must create a permission for your users group, but you must set the "participation required" to YES