How to deactivate maintenance mode from wordpress site - php

I have deactivated all plugins and then activate it back then maintenance mode got enabled by itself.
FYI there is no .maintenance file in my root directory, but there is one plugin in plugins directory.
I also have tried by renaming the maintenance plugin but still getting maintenance mode message.
One more the previous developer have used custom maintenance mode page.

I came across the same issue over and over again especially if you update your current theme, check out the steps here that resolved this issue.
To summarize: When WordPress is doing any updates, it creates a .maintenance file in the root directory of the installation. The file should be automatically removed when the update is completed. If it isn't removed, or something goes wrong and the process dies without cleaning up, going in and manually deleting the .maintenance file will get things moving again.

Related

Plugin in Wordpress is automatically installed and activated

I have a quite strange problem with a Wordpress site. I manage a few Wordpress sites but I never experienced this problem. A plugin gets automatically installed after few days. In addition it is a maintenance plugin, called Maintenance from Webfactoryltd. But every time I delete or just deactivate this plugin, it gets reactivated / installed again and switches to maintenance mode.
This is a premium site buyed on themeforest (flatsome), but I don't think it has something to do with the premium template.
I tried following things:
Delete / Deactivate the plugin
Deactivate all plugins and reactivate only needed ones (Woocommerce)
Deactivate all caching plugins (Redis, WP Optimize)
Deactivate the automatic updater in config.php
Deactivate all automatic updates on the plugins itself
Installed Crontrol (plugin) to maybe get a cronjob which is responsible for that
Nothing worked. Has someone an idea what I can try now? Thanks in advance!
You can set limit file permission for .htaccess, wp-config.php for 444. Also, set recommended folder permissions.
You can install Wordfence & scan to see results where the file is affected & fixed it.
You can run also, virus scanner from the Cpanel account.
My site was compromised. Thanks to the link of Justinas I could take further steps to deal with this issue.
I could pinpoint the problem to a user (client) which I think run some scripts from it. The Wordfence Plugin helped with that a lot. I restricted the user and reset the password.
I also used Wordpress FAQ - My Site was hacked for orientation in this case.
Especially thanks to #Justinas for the report.

wordpress update_core.php, themes.php and plugins.php error

Initially i thought it might be a plugin conflict, so i renamed the plugins directory to plugins-temp and created a new empty directory "plugins" to reinstall them one by one to see which one caused the problem. However, the error still occurred even with an empty plugins directory. After that I thought that it might be a theme issue, so i tried to change the theme from wp-admin, and i noticed that that page also returns an error so I changed the custom theme to "twentysixteen" in the database. However, the themes page still returns an error and the plugins page wasn't working either. Poking around the wp-admin page i also found that the updates page on the dashboard was returning an error. I assume it is a database conflict but i cannot reset the entire database. What values could i reset in the database that would reset the settings on those pages? In addition, I also updated to the latest version of wordpress(4.8.2).
Any advice is greatly appreciated!
In your situation it is very hard to pinpoint what's wrong with your website but you can try narrow down the source of the error.
Possible causes:
There might be a corrupted file somewhere in your WordPress core or broken theme or badly coded plugin that mess up your database.
Backup first:
Nevertheless try backing up all your WordPress files including the database before doing anything else.
Reinstall:
Once you have your backup delete whatever files you have and reinstall your site bit by bit to troubleshoot the issue. This will also ensure you have a clean WordPress core files.
Install a fresh copy of WordPress with default theme and database installed.
Once done upload your theme and activate it and make sure the site is showing up just fine.
Followed by upload folders and plugins. Reactivate the plugins and check the site again.
Lastly replace your database file and check the site, if there is no error that means the error should be somewhere in your core or the templates. If there are errors then the errors most likely originated from your database.

Magento maintenance mode disable

I have a magento eshop and I get maintenance mode only on product page.
There is no maintenance.flag file in root
I have cleared my cache and session
I dont have a maintenance extension installed
I have deactivated all of the extensions so as to check if any of
them causes the problem
however, I still have this issue.
Could someone possibly know why this is happening?

My WordPress site got updated and also few plugins. site is not loading any more. What i can do it to win it back

I have WordPress site and it is updated new version. I don't know how. Few plugins also got updated. Now sites page is not loading. Server is working fine but pages are loading.
I don't have back up. How should I get back the things.
This is a good time to learn your lesson about backups. Always have a backup.
It's most likely that one plugin is breaking your site. You can copy the /wp-content folder of your site to your computer using FTP and then (after copying it locally!), one by one, delete the plugin folders in wp-content/plugins themselves on your site over FTP. After deleting each plugin folder, check if your site is back up.
If you find the offending plugin, try reinstalling it through the WordPress admin panel. Because you deleted the plugin folder and not the database entries, the settings should still be there, but your local copy is in case of further emergency anyway.
You can try renaming your plugin folders via FTP connection. Do that one-by-one and reload the site each time. They will be deactivated after you do this, and you will find the plugin which is causing the problem.

Wordpress Theme is not Responsive to Updates

I have a WordPress theme that's installed and has been running fine for a while. I recently needed to update the theme itself, and I did so use the built-in theme editor. Upon reloading the site, the theme changes are not presented in the markup.
Removing the index.php file from the theme or changing its name results in a blank page as expected, but removing all contents of the theme's index.php does not have a similar effect. In fact, the WordPress installation continues as if I had not made index.php blank.
I have no caching plugins installed, Varnish is not present, memcached is not in use at all, and neither is APC.
I attempted upgrading all the plugins and WordPress itself. The raw-html plugin I have installed failed to update with a fatal error about an include on line 16, but that include was not present. The update worked fine when I renamed the plugin filename though (from raw_html.php to raw_html1.php).
I have found that the cache is the biggest issue when dealing with WordPress; Even when you don't have the cache enabled for the site. I have found that if I make the edit and look at it later, the changes have been updated.
This is not ideal for development.
Sometimes a plugin will have some type of a caching issue (even if the plugin doesn't deal with the cache) that causes the problem.

Categories