Drupal 8 Node Add/Edit form is showing WSOD - php

I am working on a Drupal 8 site.
Node Add/Edit page is showing blank.
Following are steps taken to find out error:
Recent Log Messages (No Error logged)
PHP Error Log file (No Error logged)
Set memory_limit to -1 and other PHP settings related to
memory in case memory is exhausted.
Uninstalled Custom modules.
Changed site theme from custom theme to core theme.
NOTE: All other forms are working(block add/edit, etc..)
Please let me know if any of SO people faced this issue before.

We fixed my problem ourselves.
We found no error in modules and themes.
So, we decided to restore and old backup.
After the back up was restored, the functionality: Node Add/Edit started working.

Related

Wordpress theme Flatsome 3.11: UX Builder not loading

I've just installed Flatsome theme version 3.11.0, wordpress 5.4, php 7.4, mysql 8.0 on my SSL protected site.
I disable all plugins, not even one.
First, I can edit home page easily. But when I edit other page, like contact, about... it was not loaded.
I checked console, has a error in image 1.
Uncaught TypeError: Cannot read property 'isRoot' of undefined
at t.value (editor.js?ver=3.11.0:2)
But I refreshed page while console opened, no error display in image 2.
That error only show when console closed.
Please help me, thank you so much.
I've faced this issue on various hosting platforms, and the solution has been different. Listing some of those here:
If you are using cloudflare, disable cache, preferably enable developer mode, while you are doing the edits
If you are using any caching plugin disable those
Ensure that you are using the same scheme (http vs https) to serve your site as has been added to your wp-config
Reload the page after you've disabled all cache
I had a similar problem, and between clearing the cache, and switching to the twenty Twenty theme the problem fixed itself.
Temporarily disable catche plugins and it would work.

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.

WordPress Manual Install Theme/Display Issue

My Problem
I manually installed WordPress on a Debian 9 VM in Virtual Box on a Windows 10 machine. When I pull up the website, this is what I get:
A WordPress site with just HTML, no formatting
The point of this install was to learn how to make a custom WordPress theme. I have built child themes before, but never a theme from scratch, so it may be I don't have everything set up yet. But there is a second issue is WordPress does not give me an option to select my second theme either.
What I did
To set up the site, I followed this tutorial on setting up WP on a Debian system. I sort of touched up on this, but I am new to WP development. I thought this was a quick and dirty route to set up a WP install. I don't have the knowledge of WordPress to know if there is an error in this setup guide.
Again, I checked the themes folder. I could not find the custom theme I started to build as an option. I can't currently download themes straight from WP because I don't have an FTP server/client currently installed on my machine. If it were just the inability to choose a WordPress theme from the WordPress theme repository, I'd suspect it's the FTP setup. But, I also can't choose my custom theme. So is there something wrong with the install?
Summary
I can't get any formatting to work on my WP development site. I suspect it's some problem with themes, but I don't know enough about the internals WordPress to know how to diagnose the problem.
Thank you for your time
It's tough to say without seeing your setup exactly, but this is often caused by URL problems.
Are you able to access wp-admin? If so, try logging in and visiting the settings > permalinks page, then just hitting the save button.
Try reloading your site. It might be fixed.. If not, a little more to try. First, I'd open your browser's Console / Inspect mode, and see if there are any console errors (showing CSS files not loading, etc). If so, post them here.
Additionally, I found a helpful article that details some other things to try when this problem pops up:
http://wphelp24.com/how-to-fix-wordpress/how-to-fix-wordpress-css-not-loading/

How to deactivate maintenance mode from wordpress site

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.

Cannot create article categories in joomla 3

I use joomla 3.1.5, php 5.4.20
When my php was 5.3.x everything was fine but after upgrading php to 5.4.20 i cannot create new article categories!
I get Internal Server Error:
The server encountered an internal error or misconfiguration and was unable to complete your request.
This is not an issue with .htaccess (don't have any) or permissions(checked it a lot of times).
Strange thing is that when i enable debug system in global configuration the problem is solved!!! When disabling debug system problem comes back.
This only happens in joomla 3.x installations. I use the same server with joomla 2.5.x and it works fine.
Any suggestions? thanks in advance
Have you checked the Joomla forum ? PHP 5.4 is not used much and the Joomla 3.1.5 might have some modules that are not compatible with the PHP 5.4.
Just wanted to share the fix to this problem. EAccelerator was causing the issue after disabling it everything works fine
I don't think the main problem is with the PHP version.
To be able to Create New Categories do this :
In your joomla "Control Panel" page, this is usually the first page when you log in, scroll down and under CONFIGURATION click "Global."
In the new page for "Global" that open opens, look for "Default Editor", if you have not changed it before it's value should be "Editor - TinyMCE". Change that to "Editor-None." --Note that for now you will not be able to use the default WYSIWYG.
Click "Save & Close".
Now go back to the page for creating new categories, refresh it and create your categories.
To have access again to the default WYSIWYG, after you have finished creating your categories, go back to "Global " and change the editor back to TinyMCE.
Good Coding.

Categories