🇧🇪Belgium @pascalmortier

Account created on 18 October 2012, about 12 years ago
#

Recent comments

🇧🇪Belgium pascalmortier

I updated to that version and spammaster.services.yml contains the spammaster.collect.service lines.
Maybe it has something to do with another module?
It is not the first time I get this error. Also on other projects.
I guess it is because spammaster tries to connect with the spammaster service but the domain name is not the same on my localhost.
I look further and if I find a solution, I will let it know.
Thanks a lot for your time and investigation!

🇧🇪Belgium pascalmortier

No I have a white screen, no errors. I make a dump with module backup_migrate and import local with sequel ace

🇧🇪Belgium pascalmortier

@pedro-alves : i make also a dump, not working
(and I cleared cache before making dump)

🇧🇪Belgium pascalmortier

@pedro-alves, i did it. Cache cleared by truncating all cache tables.

🇧🇪Belgium pascalmortier

Thank you for your quick response!
Not working after login... now I have WSOD after login.
No apache or php errors...

🇧🇪Belgium pascalmortier

@pedro-alves
It works! Thx for your quick response!

🇧🇪Belgium pascalmortier

I solved the problem by changing

    $is_admin = \Drupal::currentUser()->hasRole('administrator');

to

    if(in_array('administrator',$user_roles)) {
      $is_admin = TRUE;
    }  else { $is_admin = FALSE; }
🇧🇪Belgium pascalmortier

I use the button below the calender and then I go to /fullcalendar-view-event-add?entitiy=node&bundle=... where the not required fields not appears. When I remove $element['#access'] = FALSE; then it is working.
Thx for info about altering classes!

🇧🇪Belgium pascalmortier

@mingsong : do you have more info how to override a class? A link where to find an example?

Production build 0.71.5 2024