Skip Navigation

[Resolved] Import Types data is greyed out, can't upload

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.

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 16 replies, has 3 voices.

Last updated by Minesh 2 months, 1 week ago.

Assisted by: Minesh.

Author
Posts
#2771256

That's it!
Working on a local install with Local app.
Same on an other site on Local.

#2771257

It works on a live site! Not greyed out.
Weird.

#2773918

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

That is really strange.

Do you still require further assistance? if yes:

You can see how to enable debug logging here:
- https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

Edit your wp-config.php file and look for:

define('WP_DEBUG', false);

Change it to:

define('WP_DEBUG', true);

Then add these lines:

define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. And you can review the debug log and check for errors.

#2776571

Hi did it and got this message in the log when i wnet to import page in Toolset

[10-Oct-2024 11:59:35 UTC] PHP Deprecated: Creation of dynamic property WP_Block_Parser::$empty_attrs is deprecated in C:\Users\Kristian Adolfsson\Local Sites\kriado-new\app\public\wp-content\plugins\wp-views\backend\Services\ViewParsingService.php on line 335

#2777066

I've looked at the other sites on the sam pc running Local app. All have greyed out button to import toolset CPT etc.

#2777374

Mateus Getulio
Supporter

Languages: English (English )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi Kristian,

Minesh is not available today, so I will take over the ticket temporarily.

Could you please confirm the PHP version you're using on your local environment? This could help us identify any compatibility issues, as the error you’re seeing might be related to PHP 8.2 or above, where dynamic properties are deprecated.

Looking forward to your response.

Best regards,
Mateus

#2777618

I've tried 4 versions from 8.3.8 down to 8.0.30

#2777626

Importing Views is not greyed out!!!

#2777635

Minesh
Supporter

Languages: English (English )

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

Can you please share the file you are using for import.

You can upload the file to any file sharing service and send me link to download it.

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

#2777637

The file is not the problem, I can't start an import. It works to import on a new live site.

In the Local app the BUTTON is greyed out for Import Types data, but it's working for Import Views.

I ONLY have Types, Views, and Maps installed on it.

#2777638

Minesh
Supporter

Languages: English (English )

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

It could be possible server configuration issue.

Can you please confirm that the "simplexml" extension is installed and activated on your local server?
- https://stackoverflow.com/questions/38793676/php-xml-extension-not-installed

#2777642

Don understand what i'm supposed to do regardning the link.

xmlrpc.php is in the directory.

#2777653

Minesh
Supporter

Languages: English (English )

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

Well - I'm saying can you please check simplexml extension is installed and activated on your server.

Please check the following:
- https://stackoverflow.com/questions/6774581/how-to-test-whether-simplexml-is-installed-on-my-php-or-not

#2777661

Simplexml is enabled

#2777664

Minesh
Supporter

Languages: English (English )

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

Ok then I'm not sure what your sever is missing. maybe you can inspect the element and remove the disable attribute from import button from HTML and then check.