Critical error on mailgun plugin on wordpress - wordpress

Trying to setup mailgun in wordpress with mailgun plugin.
Installs fine but the 'mailgun lists' settings section shows:
"There has been a critical error on this website. Please check your site admin email inbox for instructions."
Error:
#0 /home/runcloud/webapps/example/wp-content/plugins/mailgun/mailgun.php(241): Mailgun->api_call()
Stack trace:
2021/03/29 22:59:07 [error] 266087#266087: *179493 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mg_api_get_region() in /home/runcloud/webapps/example/wp-content/plugins/mailgun/mailgun.php:188
2021/03/29 22:58:18 [error] 266087#266087: *179488 access forbidden by rule, client: 158.801.119.239, server: _, request: "GET /.env HTTP/1.1", host: "159.203.922.254"
2021/03/29 22:35:56 [error] 266087#266087: *179452 FastCGI sent in stderr: "PHP message: PHP Warning: escapeshellcmd() has been disabled for security reasons in /home/runcloud/webapps/example/wp-includes/PHPMailer/PHPMailer.php on line 1779" while reading response header from upstream, client: 262.258.622.926, server: _, request: "POST /wp-login.php?action=lostpassword HTTP/1.1", upstream: "fastcgi://unix:/var/run/example.sock:", host: "example.net", referrer: "https://example.net/wp-login.php?action=lostpassword"
Any ideas on how to fix this?

Related

After auto upgrade to 5.8 seeing errors and site unusable

After an auto upgrade to 5.8 seeing this error... can't even run the wp-cli to downgrade back to 5.7.2. I forgot to turn off the auto upgrade to this one particular site...
2021/07/23 14:46:03 [error] 83504#0: *10332 FastCGI sent in stderr:
"PHP message: PHP Fatal error: Cannot declare class
WP_Block_Template, because the name is already in use in
/Library/WebServer/clients/test/FASLAND/wp-content/plugins/gutenberg/lib/full-site-editing/class-wp-block-template.php
on line 12" while reading response header from upstream, client:
192.168.1.1, server: xx.xx.com, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
"xx.xx.com" 2021/07/23 14:46:04 [error] 83504#0:
*10334 FastCGI sent in stderr: "PHP message: PHP Fatal error: Cannot declare class WP_Block_Template, because the name is already in use in
/Library/WebServer/clients/test/FASLAND/wp-content/plugins/gutenberg/lib/full-site-editing/class-wp-block-template.php
on line 12" while reading response header from upstream, client:
192.168.1.1, server: xx.xx.com, request: "GET /favicon.ico HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host:
"xx.xx.com", referrer:
"https://xx.xx.com/"
The critical error is caused by the Gutenberg plugin attempting to redeclare the class WP_Block_Template which is now included as part of the WordPress Core as of version 5.8
Ref: WordPress/wp-includes/class-wp-block-template.php
To resolve this issue, uninstall the Gutenberg plugin.
For WP-CLI, use the command:
wp plugin uninstall gutenberg

NGinx: connect() to unix:/var/run/hhvm/sock failed, No such file

I am Tryig to install FB-CTF which uses HHVM, and NGinx. Everything is set completely by Shell command itself.. but now error log showing
2017/01/18 21:48:17 [crit] 15143#0:
***6 connect() to unix:/var/run/hhvm/sock failed**
(2: No such file or directory) while connecting to upstream,
client: 127.0.0.1, server: ,
request: "GET / HTTP/1.1",
upstream: "fastcgi://unix:/var/run/hhvm/sock:",
host: "localhost"
actually /var/run/hhvm/ contains only hhvm.hhbc.. getting 502 BAD GATEWAY
I reinstalled HHVM. then missing files are reinstalled. all the dependent files are correctly restored.

wordpress error,Undefined offset: 1 in /srv/www/mywork/public_html/wp-includes/class-wp-xmlrpc-server.php on line 6284

I builted my blog with wordpress.recently,my blog can't access. i check the nginx error log:
016/02/17 21:49:56 [error] 27909#0: *8303029 open() "/usr/share/nginx/www/50x.html" failed (2: No such file or directory), client: 185.130.5.209, server: localhost, request: "POST /xmlrpc.php HTTP/1.0", upstream: "fastcgi://unix:/var/run/php5-fpm.sock", host: "xxx.xxx.xxx.xxx"
then ,i checked zhe wordpress log:
PHP Notice: Undefined offset: 1 in /srv/www/zhk1/public_html/wp-includes/class-wp-xmlrpc-server.php on line 6284
I did not modify zhe file class-wp-xmlrpc-server.php.
Can anybody can help me ?

HHVM 502 gateway error on high load

I have a codebase that's running fine con HHVM.
I'm realizing some load tests with apache ab tool but when i test with 100 concurrent requests I start to get 502 gateway errors.
I generally only get two types of logs in nginx's error log:
2015/01/10 09:42:48 [crit] 29794#0: *302 connect() to
unix:/var/run/hhvm/hhvm.sock failed (2: No such file or directory)
while connecting to upstream, client: 192.168.56.211, server: ,
request: "GET /api/v2/checkaccess HTTP/1.1", upstream:
"fastcgi://unix:/var/run/hhvm/hhvm.sock:", host: "instela.com"
2015/01/10 09:42:26 [error] 29794#0: *264 connect() to
unix:/var/run/hhvm/hhvm.sock failed (111: Connection refused) while
connecting to upstream, client: 192.168.56.211, server: , request:
"GET /api/v2/checkaccess HTTP/1.1", upstream:
"fastcgi://unix:/var/run/hhvm/hhvm.sock:", host: "instela.com"
Under high load this error occurs on all load balanced backends servers, so it's not a server specific problem (I hope)
Mostly after some time HHVM returns back but many times I had to restart the daemon to bring the server back.
I am using the default configuration mostly. Here I've my configuration: http://pastie.org/9823561

Symfony2 and nginx web host

Hello i installed symfony2 on my nginx web host but it densest show up the project I've done
http://www.instelamrketing.es its the website and i used this commands to configure the server
http://www.leaseweblabs.com/2013/05/symfony2-under-nginx-on-ubuntu-12-04/
here some error logs
tail -f logs/error_log
#4 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5519): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)
#5 /home/intelmarketing.es/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionL in /home/intelmarketing.es/public_html/app/cache/prod/classes.php on line 5141" while reading response header from upstream, client: 180.211.176.176, server: intelmarketing.es, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9007", host: "www.intelmarketing.es"
2013/08/14 18:15:05 [error] 2583#0: *3 FastCGI sent in stderr: "PHP Fatal error: Uncaught exception 'UnexpectedValueException' with message 'The stream or file "C:/wamp/www/symfony/app/logs/prod.log" could not be opened: failed to open stream: No such file or directory' in /home/intelmarketing.es/public_html/app/cache/prod/classes.php:5141
Stack trace:
#0 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5089): Monolog\Handler\StreamHandler->write(Array)
#1 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5018): Monolog\Handler\AbstractProcessingHandler->handle(Array)
#2 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5204): Monolog\Handler\AbstractHandler->handleBatch(Array)
#3 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5419): Monolog\Handler\FingersCrossedHandler->handle(Array)
#4 /home/intelmarketing.es/public_html/app/cache/prod/classes.php(5519): Monolog\Logger->addRecord(500, 'Uncaught PHP Ex...', Array)
#5 /home/intelmarketing.es/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ExceptionL in /home/intelmarketing.es/public_html/app/cache/prod/classes.php on line 5141" while reading response header from upstream, client: 180.211.176.176, server: intelmarketing.es, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9007", host: "www.intelmarketing.es"
what might be the problem?
Thank you
/Aleksandar!
Clear your app/logs and app/cache directories and give your web server permissions to write to them (read the installation chapter). You left there some files from your development machine.

Resources