HTTP 500 Error Upon Module Activation

I want to use Google Tag Manager Plugin (nrGoogleTagManager_v1.4.2_php56) in my shop, its an encrypted plugin. Upon activation of the plugin its giving: 500 internal server error

There is no entry in EXCEPTION_LOG.txt.

However i get the entry in http error logs:

[Tue Aug 27 12:59:09 2019] [core:error] [pid 17311:tid 139921841919744] [client 180.92.132.57:45185] End of script output before headers: index.php, referer: https://someshop.com/admin/

[Tue Aug 27 13:00:28 2019] [core:error] [pid 17311:tid 139921841919744] [client 46.140.17.29:37445] End of script output before headers: index.php, referer: https://someshop.com/admin/

[Tue Aug 27 13:00:39 2019] [core:error] [pid 17311:tid 139921900668672] [client 180.92.132.57:60257] End of script output before headers: index.php, referer: https://someshop.com/admin/

Any leads?

you probably do not have the right encoder version

In my shop i’m using encoder version: 5.6

So whats need to be changed? to resolve this issue?

It was a silly mistake (not silly because plugin was encrypted) the name of directory in metadata.php

“id” : “plugin_directory_name”

the directory name and key/value pair of “id” in metadata.php should always be the same. That’s what caused the 500 internal server error.