Plugin

Archived
Forum
(read-only)

Rein de Vries does not actively monitor this forum
(but you can still get help from other EE users).


For official support, visit the official support site »

Google Sitemap Lite

ExpressionEngine 2, ExpressionEngine 3

Back to this add-on's main page
View Other Add-ons From Rein de Vries

     

You must be logged in to post.

Error when using with Structure on EE3

Support (Resolved)

marcom
marcom

I am getting an error when using this for Structure.

Exception Caught

No such property
'google_sitemap_lite_api' on EllisLab\ExpressionEngine\Legacy\Facade

ee
/EllisLab/ExpressionEngine/Legacy/Facade.php:107 

My template code

{exp:google_sitemap_lite:generate type=“structure”  mode="all"

My version of EE is 3.4.2
Google Sitemap Lite version 2.0.0

Thanks for your help.

Reinos
# 1
Developer
Reinos

Are you sure you installed the structure module? Try the latest version of the module and see if that fixed your issue.

marcom
# 2
marcom

Yes I have Structure version 4.0.0-b7. The current version is 4.0.0-b9. I don’t have access to it right now and my be a few days to get it. Do you think that minor of a version change is causing it?

Reinos
# 3
Developer
Reinos

Dont know, could be. Did you use the latest google Sitemap version?

marcom
# 4
marcom

Of yours? Yes just downloaded it yesterday from here

Reinos
# 5
Developer
Reinos

i just uploaded a new version; v2.0.1

marcom
# 6
marcom

Now I am getting this:

Error

is not supported for the Google Sitemap Lite module.

Reinos
# 7
Developer
Reinos

Try this code

{exp:google_sitemap_lite:generate type="structure"  mode="all"

in your code the quotes are weird…

marcom
# 8
marcom

It is working now. Strange. I copied the code from your site but the quotes must have gotten changed. Thank you for you prompt response and your help. This add-on saves a lot of time for me.

Reinos
# 9
Developer
Reinos

Great to hear!