-
EOinfo
I recently launched a website built on GP with GB Pro and everything was working fine on the dev site. But as soon as it went live on production, a few GB items stopped working.
The main issue right now is that I can’t add anything from the Local Pattern Library. The library opens and displays the patterns, but when I click “Insert” it just spins and nothing happens, even after waiting several minutes.
The “Free” and “Pro” patterns insert just fine, but nothing from the “Local” library will insert.
I have cleared my browser cache and deactivated all other plugins, but it did not make a difference.
-
George
Hi,
Thanks for the details! This looks like a leftover reference to your staging domain — a common issue after site migrations.
A couple of things to check:
1. Check
wp-config.php
Your Settings → General fields are greyed out because the URLs are hardcoded inwp-config.php. Open that file and look for lines like these:define( 'WP_HOME', 'https://[mysite].mystagingwebsite.com' ); define( 'WP_SITEURL', 'https://[mysite].mystagingwebsite.com' );If they’re still pointing to your staging domain, update them to your production URL.
2. Run a database search and replace
Even ifwp-config.phplooks correct, there may be staging URLs stored in the database. Use a plugin like Better Search Replace to search for your old staging domain and replace it with your production URL — make sure to do a dry run first before committing any changes.3. Resave your permalinks
After making any changes, go to Settings → Permalinks and click Save Changes to flush the rewrite rules.4. Clear all caches
Clear any caching plugin cache as well as your CDN/Cloudflare cache if applicable.Once the staging domain references are cleaned up, the Local Pattern Library inserts should start working again. Let us know how it goes!
-
EOinfo
Thanks for the response! I checked the wp-config file (no URLs hardcoded in there), I did a database search and replace, and resaved the permalinks. We don’t have any caching plugins installed.
Unfortunately the issue is still happening.
-
George
Hello,
You also seem to have an issue with the fonts. They seem to be referencing the staging site. Even though I don’t think it’s related, it’s worth fixing. Could you try deleting and re-adding the local fonts in the Font Library?
Let me know when done. I have also noticed that some local patterns are actually being imported, most of it fail, though. Try the font solution first and we can take it from there.
-
EOinfo
Hi there,
Ok, I have deleted and re-added the fonts. Didn’t seem to make a difference for the patterns though!
-
Alvind
Hi there,
This does appear to be a bug. I’m able to reproduce the exact same issue on my end, so I’ll raise an issue for the team to get it fixed.
Thanks for reporting this.
-
EOinfo
Ok, thank you!
- You must be logged in to reply to this topic.