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

Call to undefined method stdClass::id() in TranslationLanguageRenderer -> preRender()

I'm getting "Error: Call to undefined method stdClass::id() in Drupal\views\Entity\Render\TranslationLanguageRenderer->preRender() (line 91 of core/modules/views/src/Entity/Render/TranslationLanguageRenderer.php)." whenever I go to admin/structure/taxonomy, edit the Department vocab, and then try to click on one of the terms.

If I click the edit button next to the term, it lets me make edits and save fine but whenever I try to click on the actual term or try to use the term id in a view, it gives me that error or completely breaks the view.

Why hook_entity_update doesnt work if I masquerate as translation_manager

Why hook_entity_update doesnt work if I masquerate as translation_manager

if I login as administrator everything goes well, but as translation manager this hook never triggers

this is happening in translation jobs when I select more that one language and I click on the checkbox "Submit all 2 translation jobs with the same settings".

why?

any Ideas?

TMGMT doBatchSubmit doesnt work if I logged in as translation manager

If I log in as admin everything work well with doBatchSubmit , this method is within joibCheckout manager

Why is this happening and how could I fix it.

any ideas?

Create a block that displays form or message.

I would like to create a block in a custom module and have the block display a form or some text but not both. How would I determine if the form was submitted successfully so the code could either return the form or the text? 

How can I prevent one template from displaying cached values ?

I have a site with Drupal 8.9 and Twig Tweak.

I created 7 view blocks to set up a task list in stores. I want to display a task counter for my current user on my home page.

The tasks checks :

Need help creating a custom payment type module

Hello,

I'm using Commerce on a Drupal 7 site.

I currently offer paypal and cash/check payment options.

I would like to add another, Common Good Card. Here are the specs from their website:

Required parameters

company: Seller’s Common Good account ID.

Pages

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