Admin Ajax causing slow wordpress site (waterfall) - php

Can someone help me figure out how to fix the slow admin-ajax.php problem? Sorry I'm new to wordpress.
I understand it could be related to the wpbakery (visual composer) plugin used to build the site. But I've disabled plugins one by one and can't figure out the cause.
EDIT: I've used Heartbeat API Plugin as well to no avail.
Thanks in advance.
https://i.imgur.com/05gDDQi.png

Plugins might be using this admin-ajax for the various purposes which eventually slows down the website.
The best solution is by disabling the Heartbeat API. Install the Heartbeat control plugin. Heartbeat control plugin allows you to easily manage the frequency of the WordPress heartbeat API. Through this plugin, the heartbeat API can be disabled entirely.
Refer to the below articles for more info.
https://visualmodo.com/reduce-admin-ajax-server-load-wordpress/
https://www.hostinger.in/tutorials/how-to-fix-admin-ajax-file
https://www.cloudways.com/blog/reduce-admin-ajax-php-related-server-load-wordpress/
https://kinsta.com/blog/admin-ajax/

Actually, are you using wp advanced search plugin? This looks like its not supported and causing this issue.

I ended up just deferring it with W3 Total Cache under the Minify settings for JS by copying and pasting the admin-ajax.php script.

Related

Divi Woocoommerce Shop speed issue

I am currently trying to speed up a Wordpress webshop using the Divi Theme in combination with the Plugins WooCommerce & BodyCommerce.
The usage of this plugins is lowering the speed of the site. The current loading times are 5-10 seconds. After deactivating the Plugins the site speed increases massively.
I already tried to use some client-side caching (WPRocket) as well as serverside caching. Both speeded up the page a little bit but not on a level that is suitable for our usecase.
Are there any suggestions regarding speeding up this plugins?
Try with the Query Monitor plugin and contact the support of those plugins. Also: https://www.elegantthemes.com/blog/divi-resources/divi-speed-optimization

Divi Theme Builder Keeps Loading

The Divi theme builder keeps loading when enabled in any pages. I updated the WordPress, Divi and PHP although the problem persists. Can anyone help me solve the issue.
Try the safe mode from dashboard > Divi > Support option.
Enable Safe Mode, sometimes 3rd party plugins or server causes this issue.
If you have purchased the Divi theme, you should be able to get direct support from Elegant Themes regarding this.
I am guessing the firs thing they will ask you to do is disable all of your plugins to see if the issue goes away when you do. If so, you can re-enable them one by one to isolate which plugin conflicts.

How to disable core plugin "SimplePie" in WordPress 3.8.1

i've got a WordPress installation on another hoster and the hoster informs me, the site got hacked. (everything is up to date)
So i looked at the files and found a corrupted "gpzdecode.php" with an injected code in "wp-includes/SimplePie/".
The code was probably uploaded though a security breach in the core plugin "SimplePie" (know issue but i've found no solution).
We don't use the Plugin but it's a core item and i don't know how to disable it.
The FAQ, Support etc. from Wordpress and SimplePie doesn't seem helpful. If you find something, correct me :)
You know how to disable the core plugin (it's not shown in the "Plugin-Panel" and simply delete the SimplePie directory in wp-includes wont help me, i guess)
thanks in advance,
IT Meyer

Wordpress New Plugin Issues

I have created a wordpress plugin from scratch. When I check other plugins in Wordpress admin. If there is any update in Plugins installed page, I can see a message
Say, for e.g Contact Form - I am right now getting a message
There is a new version of Contact Form 7 available. View version 3.7.2 details or update now.
What will I have to do so that people come to know any new version of my plugin is available.
What will be case If the plugin is free and also incase it is paid.
One last question How do add the feature to check for wordpress compatibility of the plugin. Since I have programmed it to work on Wordpress version 3.8.1. How can I be sure that the plugin will also work on lower versions of wordpress 3.8.1. Is installing it on every wordpress version and testing the plugin the only way to know. Or is there any simple approach to know the plugin will be compatible.
Thanks in Advance.
At first, you have to develop the plugin by following the WordPress standard coding guide lines and then you have to submit the plugin to WordPress Plugin Directory and if your plugin get approved then you have to keep it in the WordPress plugin repository. There are several steps for doing this, so you should follow the steps, at first begin from Writing a Plugin.
You also have to be familiar with Subversion (SVN) and ael these takes quite a time to complete the complete process from developing to submitting till approval of your plugin. Also, remember that, the community/team who check plugins submitted by plugin authors are professionals and it could be possible that your plugin might be rejected if the plugin doesn't match the criterion of the standard WordPress plugin, such as licensing, coding style etc.
You may also check this link for useful resources about writing a plugin. It may sounds scary but it's not impossible and very easy, just follow the instructions and keep going on.
If your plugin finally get approved and saved in the plugin repository by you then every time you update your plugin source, it'll be visible in the admin panel of a user who is using your plugin but there are some process related with it, you should keep reading and you'll get the idea. It's not possible describe everything here, it's too broad. Everything you need about plugin development, the first place is the Codex to look information for.

My wordpress.ORG theme breaks comments functionality

I'm helping to develop a wordpress.ORG website (www.teloscares.org). The site is using a custom theme that I didn't develop (for the record, I know very, very little about php or css) and for some reason the theme is breaking our ability to view or leave comments. IS there any advice on how I can track down what about the themes .php files is breaking it or where I can look it up? Please feel free to point me in the right direction if it's not a quick, easy fix somehow. When I switch to the wordpress "2012" theme it works just fine, which is how I was able to determine that it was our theme. Any advice would be appreciated. Thank you.
First of all disable all your plugins, see if that fixes the problem? If not then the problem is indeed with your theme. You can track down problems by enabling WP_DEBUG, you can do that in the wp-config.php file which you can find in the root of your WordPress installation directory.
Links from the very mighty codex:
http://codex.wordpress.org/WP_DEBUG
http://codex.wordpress.org/Debugging_in_WordPress
http://codex.wordpress.org/Editing_wp-config.php#Debug
EDIT
It appears that the OP's theme didn't have any comment functionality at all, so there wasn't anything wrong it just wasn't there. You can add the comment functionality yourself using comments_template()
More in the mighty codex:
http://codex.wordpress.org/Function_Reference/comments_template
http://codex.wordpress.org/Function_Reference/comment_form
http://codex.wordpress.org/Function_Reference/wp_list_comments
You can use Disqus — it's widget is JS-based, has Wordpress integration, supports login with social network accounts and works fine

Categories