agima
Forum Replies Created
-
Forum: Plugins
In reply to: [LiteSpeed Cache] The lsphp process consumes a lot of resourceslsphp process has no relation with LiteSpeed Cache?
I don’t question the support of XML-RPC, I just try to secure my site as much as possible from bad people.
And I also limit the number of installed plugins.I will add all the ip in my
.htaccessfile, and I will check regularly if there are any changesThank you for your quick response.
Have a great day
Hi Arun,
Thank you for the explanations.
Have a great day
Hi Hessel,
Thank you very much for your explanations.
Have a great day 👋
Hi @hesseldejong and thanks a lot for your quick reply.
It works now with your solution.
How to get the information PHP max_execution_time and the memory_limit you ask?In my CPanel, I found:
- max_execution_time = 120
- memory_limit = 768M
Have a great day.
Laurent- This reply was modified 4 years, 2 months ago by agima.
Hi,
Since you think it’s a problem with the theme, I changed the theme of my site but the problem is still the same.
I took the OceanWP theme.
I have also disabled several plugins and nothing changes regarding the JetPack stats.
Thanks for your help, as I really don’t know what to do.
Best regards,
Laurent- This reply was modified 4 years, 3 months ago by agima.
It doesn’t change anything 🥲
Thanks for your reply @erania-pinnera
I can modify the file myself, but I’m not a PHP developer.
Like this:
... <?php /** * fairy_construct_gototop hook * * @since 1.0.0 * */ do_action('fairy_gototop'); ?> <?php wp_footer(); ?> </body> </html>Do I have to copy/paste the function declaration just before
</body>in the previous file?function wp_footer() { /** * Prints scripts or data before the closing body tag on the front end. * * @since 1.5.1 */ do_action( 'wp_footer' ); }I do not code in PHP
Voici le contenu de mon fichier wp_footer()<?php /** * The template for displaying the footer * * Contains the closing of the #content div and all content after. * * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials * * @package fairy */ ?> </div> <!-- #content --> <?php /** * fairy_newsletter hook. * * @since 1.0.0 * * @hooked fairy_construct_newsletter - 10 * */ do_action('fairy_newsletter'); ?> <footer id="colophon" class="site-footer"> <?php if (is_active_sidebar('footer-1') || is_active_sidebar('footer-2') || is_active_sidebar('footer-3')) { ?> <section class="site-footer-top"> <div class="container"> <div class="row"> <?php if (is_active_sidebar('footer-1')) { ?> <div class="col-12 col-sm-1-1 col-md-1-3"> <?php dynamic_sidebar('footer-1'); ?> </div> <?php } if (is_active_sidebar('footer-2')) { ?> <div class="col-12 col-sm-1-1 col-md-1-3"> <?php dynamic_sidebar('footer-2'); ?> </div> <?php } if (is_active_sidebar('footer-3')) { ?> <div class="col-12 col-sm-1-1 col-md-1-3"> <?php dynamic_sidebar('footer-3'); ?> </div> <?php } ?> </div> </div> </section> <?php } ?> <section class="site-footer-bottom"> <div class="container"> <div class="fairy-menu-social"> <?php /** * fairy_footer_social hook. * * @since 1.0.0 * * @hooked fairy_construct_footer_social - 10 * */ do_action('fairy_footer_social'); ?> </div> <?php /** * fairy_footer_info_texts hook. * * @since 1.0.0 * * @hooked fairy_footer_copyright - 10 * @hooked fairy_footer_theme_info - 20 * */ do_action('fairy_footer_info_texts'); ?> </div> </section> </footer><!-- #colophon --> </div><!-- #page --> <?php /** * fairy_construct_gototop hook * * @since 1.0.0 * */ do_action('fairy_gototop'); wp_footer(); ?> </body> </html>