Skip Navigation

[Resolved] Conflict with Astra Theme and User Menus plugin

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 12 replies, has 2 voices.

Last updated by umbertoZ 1 year, 10 months ago.

Assisted by: Minesh.

Author
Posts
#2540793

Hi, I've a website with Astra Theme and "User Menus – Nav Menu Visibility" plugin latest versions.

When Toolset and the theme or the plugin are active, if I try to edit pages or content templates that use the block editor, I get a blank page.

Please, can you check it.

cheers

#2541079

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Before I try to debug the issue further - Based on the debug information you shared with us, I found that you are using the outdated Toolset Blocks plugin version. The current Toolset Block plugin version is 1.6.5. Can you please make sure your site is running with ALL latest Toolset plugins. You can download the latest Toolset plugins from your account's download page:
=> https://toolset.com/account/downloads/
Or
You can update via installer page:
- hidden link

Now, regarding the issue, I see you are using the PHP 8.1.5. We added the note with our server requirement Doc:
=> https://toolset.com/toolset-requirements/

PHP 8.1 is currently not supported due to some issues. We’re working on fixing this. In the meantime, please use PHP 8.0 version.

Can you please downgrade the PHP version to PHP 8.0.x and check if that help you to resolve your issue.

#2541219

Hi Minesh, I've updated Blocks and I also downgraded PHP to 8.0

cheers

#2541223

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I try to access the wp-admin - I can see the critical error: hidden link

Can you please share FTP access details so that I can enable error log and review whats going wrong with your setup.

I have set the next reply to private which means only you and I have access to it.

#2541233
#2541239

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I visit the wp-admin: hidden link

I see the following fatal error:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-includes/class-wpdb.php:1807 Stack trace: #0 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-includes/class-wpdb.php(734): wpdb->db_connect() #1 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-includes/load.php(562): wpdb->__construct() #2 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-settings.php(124): require_wp_db() #3 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-config.php(109): require_once('/home/bopcmosp/...') #4 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-load.php(50): require_once('/home/bopcmosp/...') #5 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-admin/admin.php(34): require_once('/home/bopcmosp/...') #6 /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-admin/index.php(10): require_once('/home/bopcmosp/...') #7 {main} thrown in /home/bopcmosp/public_html/projects.analyticseo.it/nienteansia/wp-includes/class-wpdb.php on line 1807

Can you please make sure your database server is up and running or check what is causing the issue to connect to the database.

#2541261

Hi, is it possible it is related to the PHP downgrade? Maybe some PHP config changed?

Does it makes sense to try to deactivate plugins and theme?

#2541317

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes - possibly could be the reason. Can you please check that mysql and mysqli extensions are enable with your PHP.'

Please check the following article that may help you:
- hidden link

#2541751

Hi Minesh, I've activated mysql and mysqli and set PHP 8.0.18

Now the WordPress install works fine, but I still have the conflict between Toolset and Astra Theme and User Menus plugin. If default theme is active, I can edit pages and content with block editor.

cheers

#2541763

I've also tested Kadence Theme and I get the same problem.

cheers

#2541767

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please share problem URL with what page/content template you have issue with?

As I just activated the "User Menus – Nav Menu Visibility" plugin and I can see that the following edit page is loaded without any issue:
- hidden link

#2541781

Hi Minesh, I get a blank page when I try to edit that page.

Please try also these pages:
hidden link

hidden link

Or these content templates:

hidden link

hidden link

hidden link

#2541823

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

When I checked the error logs I see the following error message:

PHP Fatal error:  Allowed memory size of 268435456 bytes exhausted (tried to allocate 65536 bytes) in Unknown on line 0

I've added the following line of the code to your wp-config.php file to increase the memory:

define('WP_MAX_MEMORY_LIMIT', '512M');

Can you please confirm it works as expected now.

#2541885

My issue is resolved now. Thank you!