When i install the wordpress theme it shows me like this - wordpress

What should i do to remove this bug or error ?
I have downloaded the theme but when i install it,It actually shows this
Warning: file_get_contents(): php_network_getaddresses: getaddrinfo
failed: Temporary failure in name resolution in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php
on line 115
Warning:
file_get_contents(http://themes.cray.bg/themeupdatesnotifier/amy.xml):
failed to open stream: php_network_getaddresses: getaddrinfo failed:
Temporary failure in name resolution in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php
on line 115
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in /customers/3/3/f/mabox-ks.com/httpd.www/wp-admin/includes/misc.php
on line 1114
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2498
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2499
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/ReduxFramework/ReduxCore/framework.php
on line 2504
Warning: Cannot modify header information - headers already sent by
(output started at
/customers/3/3/f/mabox-ks.com/httpd.www/wp-content/themes/amytheme/inc/update-notifier.php:115)
in /customers/3/3/f/mabox-ks.com/httpd.www/wp-includes/pluggable.php
on line 1216

Related

getting array_filter error parameter 2 must be array. In hestia cp

I have multiple sites running on my server using hestiacp.
Today when i tried to add new website database it gives me internal server error 500.
Same is the case when i try to open configure in admin settings its also gives internal server error 500.
What's the possible solution to fix it?
2023/02/03 13:16:29 [error] 1025149#0: *24 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array,thrown in /usr/local/hestia/web/edit/server/index.php on line 148” while reading response header from upstream, client: 119.73.117.147, server: _, request: “GET /edit/server/ HTTTP/1.1”, upstream: “fastcgi://unix:/var/run/hestia-php.sock:”, host: “user.silverline.dev:8083”, referrer: “https://user.silverline.dev:8083/list/server/ 1”
2023/02/03 13:16:29 [error] 1025149#0: *24 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: array_map(): Argument #2 ($array) must be of type array, null given in /usr/local/hestia/web/add/db/index.php:152
Stack trace:
#0 /usr/local/hestia/web/add/db/index.php(152): array_map()
i tried to check all codes but there is nothing wrong it was working fine a day before and today all of a sudden this happened

Pimcore - Syntax error or access violation: 1305 FUNCTION db_name.PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS does not exist in

I have a pimcore (6.8) setup in our local system with apache2, php7.4 with all permission, mysql (8) ubuntu from a live site for version upgrade. This website is working with live but not working in our local system. When i login to the admin panel with this website locally. Then working perfectly. But when I open any page in frontend then it shows
"Oops ... Sorry, the page you're looking for has gone."
And showing in dashboard when load any document but data in showing
Timestamp: Mon Dec 05 2022 15:00:45 GMT+0530 (India Standard Time)
Status: 500 | Internal Server Error
URL: /admin/customermanagementframework/segment-assignment/inheritable-segments?id=65&type=document&_dc=1670232645843
Method: GET
Message: Database error, see logs for details
Logs Details-
Syntax error or access violation: 1305 FUNCTION db_name.PLUGIN_CMF_COLLECT_OBJECT_SEGMENT_ASSIGNMENTS does not exist in
Now i have changed the DB version as live website now showing this error
[2022-12-09 01:34:45] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Lock\Exception\LockAcquiringException: "Failed to acquire the "Pimcore\Routing\RedirectHandler" lock." at /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Lock/Lock.php line 119 {"exception":"[object] (Symfony\Component\Lock\Exception\LockAcquiringException(code: 0): Failed to acquire the "Pimcore\Routing\RedirectHandler" lock. at /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Lock/Lock.php:119, Doctrine\DBAL\Exception\ConnectionException(code: 0): An exception occurred in driver: SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:97, Doctrine\DBAL\Driver\PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:31, PDOException(code: 2002): SQLSTATE[HY000] [2002] No such file or directory at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:27)"} []

My lapis server keeps throwing "error 500 Internal Server Error"

I have been experimenting with the lua web framework, lapis, recently. My issue is that when I run lapis server, and try to connect to the website via my browser (localhost:8081), I receive the following error: 500 Internal Server Error. In the logs I get a whole spew of errors:
coroutine 0:
[C]: in function 'require'
content_by_lua(nginx.conf.compiled:22):2: in main chunk, client: 127.0.0.1, server: , request: "GET / HTTP/1.1", host: "localhost:8081"
2022/08/19 16:54:44 [error] 46270#4681084: *3 lua entry thread aborted: runtime error: content_by_lua(nginx.conf.compiled:22):2: module 'lapis' not found:
no field package.preload['lapis']
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/site/lualib/lapis.ljbc'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/site/lualib/lapis/init.ljbc'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/lualib/lapis.ljbc'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/lualib/lapis/init.ljbc'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/site/lualib/lapis.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/site/lualib/lapis/init.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/lualib/lapis.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/lualib/lapis/init.lua'
no file './lapis.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/luajit/share/luajit-2.1.0-beta3/lapis.lua'
no file '/usr/local/share/lua/5.1/lapis.lua'
no file '/usr/local/share/lua/5.1/lapis/init.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/luajit/share/lua/5.1/lapis.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/luajit/share/lua/5.1/lapis/init.lua'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/site/lualib/lapis.so'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/lualib/lapis.so'
no file './lapis.so'
no file '/usr/local/lib/lua/5.1/lapis.so'
no file '/opt/homebrew/Cellar/openresty/1.21.4.1_1/luajit/lib/lua/5.1/lapis.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
This is weird as I have all of these things installed. Does anyone know what the root of my problem might be?
lapis work on luajit 5.1 only. You might have 5.2 or 5.3 installed. Make sure you pin the version to 5.1 while installing.

I make problem with embed posts on facebook from wp

Some days ago i change my hosting on vps and now when i embed posts on facebook i get this error cURL: SSL_CACERT SSL certificate problem: unable to get local issuer certificate
Error on server - mod_fcgid: stderr: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
PHP Warning: file_get_contents(): Failed to enable crypto in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
mod_fcgid: stderr: PHP Warning: file_get_contents(*/wp-content/themes/flex-mag/css/amp-media-queries.css): failed to open stream: operation failed in /var/www/www-root/data/www/***/www/wp-content/themes/flex-mag/amp-single.php on line 29
OS VPS - CentOS 7
Please help me with this
Seems like your ssl-certificate expired or isnt valid anymore. You should check if https://www.yoursite.any still works. If no, contact the hoster and ask him for a certificate (most do it)

PHP Fatal error with nginx

I'm having, in a PHP form, when I'm submiting one email as a suscriber in a Wordpress theme, the next error in error.log:
2013/08/03 21:39:22 [error] 19544#0: *11 FastCGI sent in stderr: "PHP message: PHP Warning: require_once(TEMPLATEPATH/functions/theme-functions.php): failed to open stream: No such file or directory in /web/domain.com/public/wp-content/themes/launcheffect/functions.php on line 151
PHP message: PHP Fatal error: require_once(): Failed opening required 'TEMPLATEPATH/functions/theme-functions.php' (include_path='.:/usr/share/php:/usr/share/pear') in /web/domain.com/public/wp-content/themes/launcheffect/functions.php on line 151" while reading response header from upstream, client: 71.28.74.212, server: www.domain.com, request: "POST /wp-content/themes/launcheffect/post.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.domain.com", referrer: "http://www.domain.com/"
I've been reading about permissions, about nginx and fastcgi, about PHPfpm, reviewing my config...without success. More, I've other sites working perfectly, and that theme worked well some days ago.
Of course I've that file/directory.
My nginx.conf:
http://pastebin.com/5VB1BzHj
Can anyone help me to solve this error?
Thanks in advance!
Looking at your example error it appears you are not formatting the require correctly. It should look something like this:
require_once(TEMPLATEPATH . '/functions/theme-functions.php');
Make certain that you are also defining your TEMPLATEPATH.
define("TEMPLATEPATH ", "/this/is/your/path");
In the end, this should output a string:
/this/is/your/path/functions/theme-functions.php
For anyone having this problem, double check your file paths and file names as mine was caused by a case sensitive file path where I had missed an Uppercase letter

Resources