This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Clear all caches made my Drupal intranet site crashed

Hello Drupal community members,

My intranet site has Drupal 9.4.4 and PHP 8.1.8. Recently we had phpMyAdmin updated.  We wanted to install some modules and they didn't show up the configuration page so we decided to clear all caches. Then all of the sudden, we have the white error page " 

This page isn’t working

10.0.200.30 is currently unable to handle this request.

HTTP ERROR 500

This never happened to me before.  Not for over a year and nine months.   Is it Drupal problem or PHP problem ?

Views with Grid option not loading in Firefox browser only

Im having a problem with some of my views only when Im using Firefox both on mac and windows. 

When I load the page the view with a grid option doesn't load and instead shows a loading icon, however if I resize the window even slightly it loads fine.

I'm using nginx web server, drupal 8.

Please could you help as I need it to load straight away. Thank you in advance for any help.

https://imgur.com/Z8eK4nk

Scheduled task that needs longer than 3 minutes to complete

Part of the CRON run hourly we have a Drupal site that needs to sync assets from webdam to the site. There could be 2000 assets that need to be copied down or updated and needs at least 2-3 hours to complete. Since cron exectution time is 3 minutes max is there a way to put it on it;s own schedule to run say once every 12 hours and let it finish? Currently it only syncs as many as it can within the 3 minutes and then stops.

Does it need to be a cron job at all?

Alter render array in layout builder

My customer has used Display Suites but wants to migrate to Layout Builder. We use Paragraphs only as a replacement for the D7 field_collection. We used the DS api ds_hook_pre_render_alter() to flatten the paragraphs into #markup which we want to do in LB as well.

Local Task Bar Disappears after Unsetting One Tab

Hoping someone can point me in the right direction.  I need to remove a tab from the Local Tasks bar. This tab is created via a custom module. Currently I'm using hook_menu_local_tasks_alter() to remove the tab from a user with a specific role.  Here's the weird part: if I go to unset the tab without checking for the users role, the tab disappears and the rest of the tabs remain.  When I go to check if the user's role is in one of the allowed roles for this tab and it returns false, the ENTIRE tab disappears.  Here's my code:

How to apply a patch without a shell?

Hi there,

I do use the 'voting api' modul and need to install the patch #8 of https://www.drupal.org/project/votingapi/issues/3270555

I use plain Drupal 7 and do not use any shell commands. Of course I have access to the filesystem and would like to update the module with a new php of this module. can anyone explain how to proceed?

Thank you,

Michael

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions