# Error while exporting Block Plugin \[WP Plugin\]

**URL:** <https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410>\
**Category:** Bug Reports\
**Tags:** wordpress\
**Created:** [December 14, 2022, 6:13pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410 "2022-12-14T18:13:08Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![xokko](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/xokko/32/856_2.png) [@xokko](https://forum.pinegrow.com/u/xokko)\
**Post date:** [December 14, 2022, 6:13pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/1 "2022-12-14T18:13:08Z")

</div>

I use a freshly installed local WP 6.1.1 with WP Engine Local: nginx, PHP 8.19.  
I just tried the WP Plugin and try to export the default “About Me” plugin. I got an error: Unknown error  
In the console is this error:  
POST [http://pluginstest.local/wp-admin/admin-ajax.php](http://pluginstest.local/wp-admin/admin-ajax.php) 500 (Internal Server Error)

Then I switched to PHP 7.4 and exporting plugin now shows error: incompatible\_archive\_empty  
Console shows no error, but this message:  
EXPORT DONE incompatible\_archive\_empty

In both cases there is no plugin in the dashboard.

---

<div class="post-metadata">

**Author:** ![Lapos](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@Lapos](https://forum.pinegrow.com/u/Lapos)\
**Post date:** [December 14, 2022, 7:50pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/2 "2022-12-14T19:50:53Z")

</div>

Same problem. I can’t export my cool\_blocks plugin  
even after deleting the whole wordpress site

---

<div class="post-metadata">

**Author:** ![lgx](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lgx](https://forum.pinegrow.com/u/lgx)\
**Post date:** [December 14, 2022, 8:26pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/3 "2022-12-14T20:26:50Z")

</div>

Same issue for me. Cannot export the cool\_blocks plugin. I receive a fatal unknown error and the plugin does not show up. I tried to trick it by downloading the plugin and uploading it myself, but it doesn’t work that way either.

I am using WP local as well. Same setup: WP 6.1.1, nginx, PHP 8.1.9.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 14, 2022, 9:21pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/4 "2022-12-14T21:21:17Z")

</div>

Thanks for reporting this. The 1.0.1 with logging of the export process is coming soon and it will help us see and fix whatever is going on.

---

<div class="post-metadata">

**Author:** ![mike1096](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/mike1096/32/4954_2.png) [@mike1096](https://forum.pinegrow.com/u/mike1096)\
**Post date:** [December 14, 2022, 9:47pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/5 "2022-12-14T21:47:26Z")

</div>

If it helps, I made it to the “make elements editable” lesson, and my export error was: “This is not a Pinegrow project. Use Pinegrow Settings - “Do not check if the project was exported by Pinegrow” to export projects created with the beta version of Pinegrow plugin.” I never had a beta version.

Fresh WP 6.1.1 install on local dev, PHP 8.08, Apache

---

<div class="post-metadata">

**Author:** ![lgx](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lgx](https://forum.pinegrow.com/u/lgx)\
**Post date:** [December 15, 2022, 12:23am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/6 "2022-12-15T00:23:51Z")

</div>

I wasn’t able to get any further yet, but I did just get a random popup stating:

“Expired beta version. Thank you for testing the Pinegrow beta version! This version of the public beta has expired. Please update the plugin to the latest version, if the beta program is still active. Otherwise, update to the latest release version.”

I downloaded the plugin from the payment page link today.

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 15, 2022, 1:39am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/7 "2022-12-15T01:39:41Z")

</div>

> [@lgx](#):
>
> Expired beta version.

@lgx thanks, I will push an 1.0.1 update in about an hour. The old message from beta was left in the code.

---

<div class="post-metadata">

**Author:** ![lgx](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lgx](https://forum.pinegrow.com/u/lgx)\
**Post date:** [December 15, 2022, 1:43am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/8 "2022-12-15T01:43:44Z")

</div>

Awesome! Thank you so much! 🙂

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 15, 2022, 3:19am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/9 "2022-12-15T03:19:42Z")

</div>

@xokko, @Lapos, @lgx, @mike1096 please update to [Pinegrow plugin 1.0.1](https://forum.pinegrow.com/t/release-log-the-list-of-plugin-releases/7423) and then [generate the export log](https://forum.pinegrow.com/t/how-to-report-problems-with-plugin-theme-export/7424) and paste it here or send it to [support@pinegrow.com](mailto:support@pinegrow.com).

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![mike1096](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/mike1096/32/4954_2.png) [@mike1096](https://forum.pinegrow.com/u/mike1096)\
**Post date:** [December 15, 2022, 4:12am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/10 "2022-12-15T04:12:40Z")

</div>

Export starter… apiValidated.  
getCurrentUser and settings.  
true  
Got project post with ID 67  
Deleted the project error log.  
true  
Require the file system…  
Done.  
Getting the FS instance…  
true  
Checking if this is a PG project…  
ERROR - It is not and check is not disabled.

---

<div class="post-metadata">

**Author:** ![xokko](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/xokko/32/856_2.png) [@xokko](https://forum.pinegrow.com/u/xokko)\
**Post date:** [December 15, 2022, 1:32pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/11 "2022-12-15T13:32:53Z")

</div>

I tried the WP Plugin on my remote server (Linux, nginx, PHP 7.4) and it worked. After update to PHP 8.2 I had to enable “Overwriting non-Pinegrow projects” to export plugin. Why?

But now to my Local server…  
You disabled the right click and also Ctrl+C does not work. I had to use DevTools to copy the log. Maybe add a button to copy the log?  
Here is the log:

```auto
Export starter...
apiValidated.
getCurrentUser and settings.
true
Got project post with ID 37
Deleted the project error log.
true
Require the file system...
Done.
Getting the FS instance...
true
Checking if this is a PG project...
working_dir = C:\Windows\TEMP/export-0zLlXwL6f5
Here is the list of exported files:
--- blocks/about-me/about-me_register.php
--- blocks/about-me/about-me.js
--- inc/wp_pg_helpers.php
--- inc/wp_pg_blocks_helpers.php
--- blocks/pg-blocks-controls.js
--- blocks/pg-blocks-controls.css
--- inc/custom.php
--- about_me.php
--- about-me.css

Plugin file will be about-me.php
Files written.
Pinegrow signature file created.
Requesting class-wp-upgrader.php
backup_dir = C:\Users\xokko\Local Sites\pluginstest\app\public/wp-content/plugins/about-me__pg_backup
Getting Upgrader instance...
Upgrader->install_package...

```

It’s Windows 10. Maybe the different slashes ( / \ ) are a problem?  
In the Temp directory is only one file “.exported\_by\_pinegrow”.

---

<div class="post-metadata">

**Author:** ![Dom](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/dom/32/4887_2.png) [@Dom](https://forum.pinegrow.com/u/Dom)\
**Post date:** [December 15, 2022, 2:03pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/12 "2022-12-15T14:03:13Z")

</div>

I wonder if you haven’t hit it on the head with your observation about the different slashes in the path.

---

<div class="post-metadata">

**Author:** ![briansteeleca](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/briansteeleca/32/5073_2.png) [@briansteeleca](https://forum.pinegrow.com/u/briansteeleca)\
**Post date:** [December 15, 2022, 9:14pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/13 "2022-12-15T21:14:04Z")

</div>

I’m having the same error, “Project export failed: This is not a Pinegrow project”. I’m working through the Build your first custom Gutenberg block tutorials. It exported correctly for the first 6 or 7 tutorials but now won’t export.

Here is the export log:

`Export starter... apiValidated. getCurrentUser and settings. true Got project post with ID 88 Deleted the project error log. true Require the file system... Done. Getting the FS instance... true Checking if this is a PG project... ERROR - It is not and check is not disabled.`

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 15, 2022, 11:29pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/14 "2022-12-15T23:29:47Z")

</div>

1.0.2 (out now) fixes the issue with the “Not a PG project” error. Please update and report back.

---

<div class="post-metadata">

**Author:** ![Lapos](https://avatars.discourse-cdn.com/v4/letter/l/96bed5/32.png) [@Lapos](https://forum.pinegrow.com/u/Lapos)\
**Post date:** [December 15, 2022, 11:43pm UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/16 "2022-12-15T23:43:15Z")

</div>

Yeaaaa! It’s working now! Thank you for your hard work and efforts.

---

<div class="post-metadata">

**Author:** ![briansteeleca](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/briansteeleca/32/5073_2.png) [@briansteeleca](https://forum.pinegrow.com/u/briansteeleca)\
**Post date:** [December 16, 2022, 3:42am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/17 "2022-12-16T03:42:23Z")

</div>

Yes, it works now, thanks @matjaz , now you can go relax by the pool! 😉

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 16, 2022, 3:48am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/18 "2022-12-16T03:48:08Z")

</div>

Perfect! Finally can go hiking tomorrow 🙂

---

<div class="post-metadata">

**Author:** ![lgx](https://avatars.discourse-cdn.com/v4/letter/l/a5b964/32.png) [@lgx](https://forum.pinegrow.com/u/lgx)\
**Post date:** [December 16, 2022, 5:28am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/19 "2022-12-16T05:28:15Z")

</div>

Hooray! Thank you so much for this speedy update! Everything is working smoothly now and I am absolutely loving this plugin!

---

<div class="post-metadata">

**Author:** ![xokko](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/xokko/32/856_2.png) [@xokko](https://forum.pinegrow.com/u/xokko)\
**Post date:** [December 16, 2022, 7:30am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/20 "2022-12-16T07:30:14Z")

</div>

OK, it works now. I just had to close all and reload.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Dom](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/dom/32/4887_2.png) [@Dom](https://forum.pinegrow.com/u/Dom)\
**Post date:** [December 16, 2022, 7:36am UTC](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410/21 "2022-12-16T07:36:37Z")

</div>

Working at my end now, thank you.

[Next page](https://forum.pinegrow.com/t/error-while-exporting-block-plugin-wp-plugin/7410.md?page=2)
