Its Ok, at least you replay. Thanks.
I did not change any version of Types plugin (because after changing, website speeds decreases very much)
I have already used P3 plugins. It did not help. I have optimise my database in phpMyAdmin, but it did not help too. I have disabed all plugins & tried, Reinstall the theme.
I am not facing any database connection error. The main problem is, sometimes some query are taking more time to execute, and go to sleep( specially when little traffics come, or I do work in my dashboard). I used Query moniter plugin, found some query which are taking more times. I found one article :
https://css-tricks.com/finding-and-fixing-slow-wordpress-database-queries/
But I do not understand how to fix these slow queries. I mean how to use my phpMyAdmin to solve these slow query. If you show me how to use phpMyAdmin in this problem, I would be grateful to you. I think this article can help, because I am facing exactly this problem.
Also for some days I am using Debug plugin. And I am getting many error whenever I tried to do anything in my wordpress work, i.e: create posts, edit pages, install/uninstall plugins etc.
The errors are like:
Error Number :-
8
Error String :-
Undefined offset: 0
Error File :-
/home/a911lojp/public_html/wp-content/themes/maskitto-light/single.php
Error Line :-
13
(After it, there is a Very Long message which can not be type here. This error occured, when I tried to reinstall your theme)
And sometimes this message:
Error Number :-
2048
Error String :-
call_user_func_array() expects parameter 1 to be a valid callback, non-static method WP_Feed_Cache::create() should not be called statically
Error File :-
/home/a911lojp/public_html/wp-includes/SimplePie/Registry.php
and these
Error String :-
has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
Error File :-
/home/a911lojp/public_html/wp-includes/functions.php
Error Line :-
3737
Error Context :-
function has_capversion 2.0message Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead.
There are lot of such error message.I think these messages are normal or I have to reinstall the wordpress and make website from scratch. I have done this two times with your theme hoping all will be alright. LOL
I think if I know how to optimise the slow query after finding it in query moniter, I can solve this issue. SO please help me How to use phpMyAdmin. Only some instructions will be sufficient.
(P.S- After you said that php 7 is 200% faster, I have planed to move on to siteground hosting, the greeky plan.)