Without the error log i'm not able to say what the issue is. Are you able to take a screenshot of the error output so that I can see what the error is.
If you're not able to see the error itself then I recommend following the instructions in the link below to dump the error onto the page.
To enable the wordpress debugging you will either need to log into your website using FTP or using your Host's CPanel's file manager.
From there you will need to edit the wp-config file by adding the following.
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
If the define( 'WP_DEBUG', true ); function already exists you will need to change 'false' to 'true'
Once you've done this please revisit the page with the issue and let me know what the issue is.
Hi Shane,
OK!
When I try to open /wp-admin/post.php?post=11&action=edit&classic-editor, I get error1.jpg
And when I try /wp-admin/post-new.php?post_type=page, I get error2-1.jpg + error2-2.jpg (A longer list).
Btw: the server uses PHP 7.4.28 ...
The PHP-errors on frontend are:
Notice: Uninitialized string offset: 0 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 9
Notice: Uninitialized string offset: 0 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 1 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 2 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 3 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 4 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 5 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 0 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 9
Notice: Uninitialized string offset: 0 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 1 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 2 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 3 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 4 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Notice: Uninitialized string offset: 5 in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/themes/sydney/inc/styles.php on line 12
Forgot to mention: When I deactivate Yoast SEO-Plugin I can open pages + posts, but I can't create new ones...
And I can't create new users! Very strange, very strange...
I took at the debug data for your site and saw that you were running mysql version 5.5.5 .Unfortunately our Toolset plugins require at least version 5.6
Hi Shane,
before I migrated this site to a new server/provider, it used MySQL 5.7 and everything was fine. On the new server I don't have MySQL but 10.1.48-MariaDB-0ubuntu0.18.04.1. I think this version is compatible to MySQL... what do you think?
Hi Shane,
with all the plugins activated, I can edit existing posts + pages, but I can't create new ones. When I try, I get the error-massages you read in the screenshots. BTW: I can't create new users too.
Yesterday I deactivated Toolset and after trying to create a new post I get:
„Warning: Creating default object from empty value in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-admin/includes/post.php on line 742“
This domain and the site is since 2 weeks on this server, on the old server of another provider everything worked fine.
On this new server is another wordpress installation with a MariaDB and I see no problems.
I contacted the new provider and he suspects an error of wordpress...
I see the issue is being cause by your custom field group. The problem is that your field groups are assigned to custom post types that no longer exists.
If you go to Toolset -> Custom Field you will see that one group is assigned to Movies and another to Program Points but none of these 2 post types exist when you go to Toolset -> Post Types.
Disabling the custom field groups restore the functionality of the site.
Hi Shane,
yes - I deleted the group, but this has no effect on the errors.
Creating a new post /wp-admin/post-new.php:
Warning: Creating default object from empty value in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-admin/includes/post.php on line 742
Fatal error: Uncaught InvalidArgumentException: Invalid argument type for the post type. in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php:537 Stack trace: #0 /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(310): Toolset_Field_Group->is_assigned_to_type() #1 /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(256): Toolset_Field_Group_Post_Factory::{closure}() #2 /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(480): Toolset_Field_Group_Post_Factory->filter_groups() #3 /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php(1489): Toolset_Field_Group_Post_Factory->get_groups_for_element() #4 /var/www/vhosts/do-xs.de/httpdoc in /var/www/vhosts/do-xs.de/httpdocs/doxs/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php on line 537
I am working with a copy of the site on my own webspace and it's the same...
I believe there might be some corruption in the sites database as i'm not being allowed to create a field group and if I do its created without an ID.
If possible I would recommend backing up the data only for this site and reinstalling wordpress itself then reinstalling all your plugins.
You can do this and rebuild the site from the ground up, however if you have a backup of the site without this issue then you can go ahead and restore it.
Hi Shane,
yes, I think the problem is the db-migration from MySQl 5.7 to MariaDB 10! I will test that on my demo-site. I contacted the provider - they have some webdevelopers who will help me...