Error in opigno group

viragom
Forums
Hello! I'm experiencing the following problem (installend Opigno 2.6 with Composer) When I create a Group (i.e. Course) I'm getting the following error... see below It points to line 1434 in a Opigno file ( $group_visibility = $group->field_learning_path_visibility->value; ) but apparently doesn't receive the wanted input. Does anyone know how to solve this? Was the database properly updated? Thnx Notice: Trying to get property of non-object in opigno_learning_path_group_access() (line 1434 of modules/contrib/opigno_learning_path/opigno_learning_path.module). opigno_learning_path_group_access(Object, 'view', Object) call_user_func_array('opigno_learning_path_group_access', Array) (Line: 403) Drupal\Core\Extension\ModuleHandler->invokeAll('group_access', Array) (Line: 97) Drupal\Core\Entity\EntityAccessControlHandler->access(Object, 'view', Object, 1) (Line: 709) Drupal\Core\Entity\ContentEntityBase->access('view', Object, 1) (Line: 65) Drupal\Core\Entity\EntityAccessCheck->access(Object, Object, Object) call_user_func_array(Array, Array) (Line: 159) Drupal\Core\Access\AccessManager->performCheck('access_check.entity', Object) (Line: 135) Drupal\Core\Access\AccessManager->check(Object, Object, Object, 1) (Line: 112) Drupal\Core\Access\AccessManager->checkRequest(Object, Object, 1) (Line: 109) Drupal\Core\Routing\AccessAwareRouter->checkAccess(Object) (Line: 94) Drupal\Core\Routing\AccessAwareRouter->matchRequest(Object) (Line: 115) Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(Object, 'kernel.request', Object) call_user_func(Array, Object, 'kernel.request', Object) (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', Object) (Line: 127) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23) Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
axel

Hi,

Hi,

This is a notice, not an error.

It will not have any impact on the features.

Btw if this is a production server, you should disable display of notices (in Apache settings).

viragom

notice or error

Well, it said it is a notice, so that's not an issue...;-) But what if the editing page doesn't show up??? I made a course, it is saved, because I can see it in the list, but when I click on it to open it, the notice appears ... and nothing else. How can I change properties or add activities when nothing is there?? Will disabling the notice make it work again?? Thnx
axel

Are you managing your course

Are you managing your course from the learning path manager ?

If nothing appears on your page then you have an error, other than the issue that you mention.

You should check your console, and your Apache logs