Skip Navigation

[Resolved] Issue with toolset-maps and beaver builder and astra?

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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 13 replies, has 2 voices.

Last updated by jeffM-14 1 year, 12 months ago.

Assisted by: Nigel.

Author
Posts
#2541359
Screenshot 2023-01-25 at 12.04.12 PM.png

I am trying to: make general edits to a page using the beaver builder editor

Link to a page where the issue can be seen: hidden link

I expected to see: the normal beaver builder editor

Instead, I got: fatal error message (see screen shot)

#2541829

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Jeff

I visited the link you shared and was able to see the problem once I activated Toolset Maps.

To look into this I need to debug locally, but I've been unable to take a copy of your site. Your host disallows most backup plugins, and Duplicator—which it does allow, but not Duplicator Pro—is unable to complete building a backup package, even when I have it set to only copy the database and apply filters to exclude many of the database tables.

(Your actionscheduler tables—from WC—are enormous, you might want to do something about that, see hidden link.)

If you can provide a copy of your site (minus the plugin and uploads folders) I can try to set up a copy locally to debug this issue.

#2542027

I can attempt to make a full downloadable backup of the site, but the file would be huge.

Would it help if I made a full staging version of the website for you to debug and test?

#2542065

Here is the staging environment you can use to troubleshoot this issue:

hidden link

Use the same credentials I shared for live:

development
4j#$K2IVgnm$#LcHNw0St^S1

Please let me know what you find and what can be done, as the client is getting nervous.

#2542415

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for that, but when I log in at the link you shared it redirects to the actual site you shared earlier, so I would be working on the production site.

To debug an error like that I will almost certainly need a copy of the site locally. I really just need the database, but I wasn't able to generate that using Duplicator (even though it allows me to filter which database tables to include, so that I could exclude the very large actionsheduler tables), and I don't have access to phpMyAdmin or similar tools on your server.

Given that the restrictions on creating site copies comes from your host, Kinsta, perhaps they could help.

If that's not possible we could try migrating your site to one of our servers on Cloudways (from which I should then be able to download a copy), but on large sites such as this there's a good chance that will fail and it is time-consuming, so I'd try that as a last resort.

I'm not actually working today, so I'll get to this first thing after the weekend. (In the meantime you can temporarily disable Maps while making the edits in Beaver Builder.)

#2542863

Okay, I was able to make a complete archive backup of the entire LIVE website, which you can access here:

hidden link

Please let me know if you are able to access and download that file. Once done I will delete it as needed, thank you for the help.

#2544055

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I was able to download the package, but couldn't install the site. Specifically, I couldn't import the database, the file is too large and generates errors, so large I couldn't even open it in a text editor to try and delete chunks pertaining to unnecessary database tables.

As I mentioned above, your database has some very large tables that should be cleaned out. Copying the site will be more feasible without that bloat.

I suggest we try the following to try and get a copy of what's needed to investigate this issue:

- Prepare a minimal version of the site on a staging server
- Migrate that version to one of our servers on Cloudways
- I can then freely install whatever I need to extract a copy to install locally for debugging

To prepare a minimal install on the staging server in preparation for transferring you should:

- delete all plugins that are not specifically required to reproduce the error. (First, deactivate all plugins except Beaver Builder, Toolset plugins, Astra plugins. Check if you can still trigger the error. If so then you can delete all the inactive plugins.)
- install a file management plugin such as Filester (https://wordpress.org/plugins/filester/) so that you can delete everything from your wp-content/uploads folder; there is no need to copy all of the media to debug this issue
- install a plugin such as Adminer (https://wordpress.org/plugins/pexlechris-adminer/) to be able to access your database (or use phpMyAdmin directly if you have it available) and delete tables associated with the deleted plugins that are now surplus to requirements. At a minimum you should DROP the wpdev_actionscheduler_* tables. I note the wpdev_comments table is also very large. You shouldn't DROP the table itself, but it would be helpful to delete all rows from it.
- you can now delete those utility plugins added to do the above

When you have that prepared let me know and I will create an empty site on our Cloudways server to receive the copy of your site, and share details with you about how to initiate the transfer from your end.

#2544581

Nigel, Thanks for the reply.

Rather than doing all of what you suggested (which is all good), I worked with Kinsta to get an optimized version of a staging site for us/you to work on:

hidden link

I just confirmed this is good to go.

Use

to log in, and it should load that staging site admin just fine. Feel free to kick the tires, deactivate, and test/troubleshoot the Maps not loading on the hidden link page.

Thank You in advance.

#2544785

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Thanks for preparing that.

I immediately ran into a problem when I deactivated plugins as custom code in your child theme triggers a fatal error if The Events Calendar is inactive (it doesn't check if the function tribe exists before using it).

As I don't have FTP access I'm locked out with no route back in to the site.

Do you have FTP access to the staging site? If you rename the child theme folder (e.g. add an underscore) then it should make the site accessible again.

#2544895

Ugh -- okay, I just renamed the child-theme folder so you should be able to get back into the staging WP Admin area.

Here is the sFTP info for the staging server should you need it:

host: 35.245.98.122
port: 38433
user: devcappanet
pass: BzLQ9IrlZdkqOE0

Thank You again. Let me know what you find.

#2545397

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Well. That was unexpected.

I ran through basic testing, deactivating plugins (I had to test with the parent theme, the child theme triggers fatal errors whenever plugins are deactivated), initially establishing that the error does not occur in a minimal environment with just the essential plugins active.

So I then went through de-activating and re-activating batches of the remaining plugins to try and find if another was required to provoke the error.

I wasn't it expecting it to be the very last one in the list, the WP Mail Logging plugin.

If you visit the staging site and try editing the problem page with and without that active, you'll see that it is required to produce the error.

Given that there are many such plugins available I suggest you switch to one of the alternatives.

I don't expect you to have the same problem, but if you do, let me know.

#2545599

Thank You for your continued support.

When I deactivate the WP Mail Logging plugin on the live hidden link site I am able to edit pages using Beaver Builder, however, the main hidden link page still does not show the Map.

That, and the "Use My Location" button in the search area does not seem to be working, either...

#2545769

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

I did some more testing on your staging site and determined that the maps are broken (you can see JS errors in the browser console) by the Termaggedon Usercentrics plugin.

If you de-activate that you should see the map functionality restored.

Going to the settings for that plugin it includes an embed code section, and it seems this script is responsible for the problem: hidden link

I can't tell what that script is doing as it is a compressed, obfuscated production script.

I'm not sure what this plugin does, I guess it is related to cookies. But if I reload the page in a new browser window, accept all cookies, then refresh the page (to benefit from the cookies), the map is still not shown.

Knowing what you are using the plugin for, is an alternative possible?

#2547273

Nigel, thank you very much for the support -- you helped drill down into what was causing the conflict.

My issue is resolved now. Thank you!