When I try to edit an old order from the Woocommerce backend, the screen is incompletely loaded.
You see the header data of the order, but you can not see the detail of the order.
Using the browser development tools, you see this error:
GET https://www.xyxyxyxxyxyxyx.com/wp-admin/post.php?post=7734&action=edit 500 (Internal Server Error)
Some help? Thank you!
It was an error on a plugin. The error was only in production environment, so the debug option in Test did not show any error.
I use the following configuration to debug in Production:
if ('MY_IP_ADDRESS' == $_SERVER['REMOTE_ADDR']) {
define('WP_DEBUG', true);
} else {
define('WP_DEBUG', false);
}
Related
I have a wordpress site that was running fine with version 5.7.2. Everything was working as expected (as far as I know). Today I upgraded to 5.8 (using the onclick upgrade within wordpress itself). Since then the post.php simply does nothing, it just closes the connection whenever you go to it (this is also the same for post-new.php, uploads.php, user-edit.php user-new.php but not users.php ). I cant find any errors in the apache logs (and I have the error recording turned on in the php.ini, and there is no output in the wordpress debug.log despite having the following settings:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
in the wp-config.php.
The site itself appears to work as expected, all of the pages and plugins work. I have used the Health Check & Troubleshooting plugin to run the site with all the plugins and themes disabled and this does not address the issue. The issue is not tied to a single client as I can login on different devices and I get the same error.
The error is not just on post.php, but can also be seen by visiting certain admin pages, for example the yoast plugin, whenever try to use the admin pages you get the same error.
After a bit more digging I found the following error in the apache error logs (not the one specific to my vhost)
double free or corruption (out)
free(): invalid next size (fast)
free(): invalid next size (fast)
[Sun Sep 05 22:38:50.226213 2021] [core:notice] [pid 53059] AH00052: child pid 53063 exit signal Aborted (6)
This error would appear any time you load one of the effected pages.
On doing more research I found from here https://github.com/oerdnj/deb.sury.org/issues/622 that having both the php modules for graphicsmagick and imagemagick would cause this memory error. I removed graphicsmagick and everyhing works again.
I have a Wordpress site and when updating a leadpages plugin, I am seeing the following error...
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /home2/dhankaran/public_html/wp-content/plugins/leadpages/App/Bootstrap/AdminBootstrap.php on line 196
I don't know where this file resides so I cannot update the code. please help!
Thanks
DK
Switch your display errors OFF from cpanel or wp-config.php, This may be the issue...
// Write this code in wp-config.php
// log php errors
#ini_set('log_errors','On'); // enable or disable php error logging (use 'On' or 'Off')
#ini_set('display_errors','Off'); // enable or disable public display of errors (use 'On' or 'Off')
Also check wp_debug in wp-config.php
define('WP_DEBUG', false); // disable debugging mode
I have get an error on my website:
http://anthologymdjs.com/
I have tried to deactivate all plugin except contact form 7, and activate 2019 theme, but this error is still existed.
The error is :
GET http://anthologymdjs.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.0.5 net::ERR_ABORTED 409 (Conflict)
GET http://anthologymdjs.com/wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=5.0.5 net::ERR_ABORTED 409 (Conflict)
Has anyone received this type of error, and if so, can you tell me how you fixed it and what was the root cause? Any help is greatly appreciated.
Thanks!!
You can use config.php
define ('WPCF7_LOAD_JS', false );
define('WPCF7_LOAD_CSS', false);
Add the below line in .htaccess file:
RewriteCond %{REQUEST_URI} !^/wp-json
Add this lines in wp-config.php.
add_filter( 'wpcf7_load_js', '__return_false' );
add_filter( 'wpcf7_load_css', '__return_false' );
See exact error by enabling error reporting
edit wp-config.php
edit below code
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
see what error is showing then resolve it.
This fixed my issue .
This might not work for all , but you can give it a try..
Clear Cookies using Edit Cookie Chrome Extension or Using Clear Site data from Dev tools...
Then, Re login to Wordpress and Clear WP cache, if you are using any plugin or if clear hosting cache, Now check your contact forms .
Just Add this line in your wp-config.php
define ('WPCF7_LOAD_JS', false );
I am trying to edit a website I made in Wordpress, but when I go to the example.com/wp-admin/ to get to the Admin,
I get the errors, and so there is no way to go into Wordpress to edit the site.
I even changed the WP Theme back to the default TwentyTen through PHPMyAdmin, but that didn't help.
What can I do? Here is what I get when I try to go to wp-admin page:
Notice: register_uninstall_hook was called incorrectly. Only a static
class method or function can be used in an uninstall hook. Please see
Debugging in WordPress for more information. (This message was added
in version 3.1.) in
/home/content/80/13163980/html/ybk/wp-includes/functions.php on line
3547
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 45
Notice: Undefined index: page in
/home/content/80/13163980/html/ybk/wp-content/themes/rt_infuse_wp/functions.php
on line 55
Warning: Cannot modify header information - headers already sent by
(output started at
/home/content/80/13163980/html/ybk/wp-includes/functions.php:3547) in
/home/content/80/13163980/html/ybk/wp-includes/pluggable.php on line
1178
I just set WP_DEBUG mode to false and that skipped it all and got me to the WP-Admin login page.
Just find the pluggable.php and after <?php please add this ob_start(); and save. That should work.
Warning: Cannot modify header information - headers already sent by
Removing "blank lines" from function.php file and check it now issue is as it is than after check plugin folder >> disable plugin and check
Refresh your Browser, and the original error message Should go away.
Hi I have use a magento wordpress single sigin plugin , for this in installation it is suggested to add this code in magento index file .
// for wordpress login
$adminwp = "/var/www/projects/magentowoo/index.php/admin";
$wploadwp = "/var/www/projects/arun/rohitgoel/wp-load.php";
$uri = $_SERVER['REQUEST_URI'];
//echo $uri;
if(!strpos($uri, $adminwp) && !strpos($uri, 'downloader')) {
require_once($wploadwp);
}
it works fine but it a strange issue, when i am adding the product image in admin it gives a error
Decoding failed: Syntax error
i have try to comment out this code and than image works properly. Please suggest how can i fix this
Update your browser Flash version, if Flash is being blocked by the browser as being outdated this error will occur on the website.