Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

StaticExporter: Call to undefined method Config_orClass::set() in StaticExporter.php


Reply


2 Posts   353 Views

Avatar
soliddealer

Community Member, 5 Posts

18 March 2014 at 2:22am

Hi,

I'm trying to export static HTML pages with the module StaticExporter (https://github.com/silverstripe-labs/silverstripe-staticpublisher).

All I get is following error message:
"Call to undefined method Config_ForClass::set() in /var/www/vhosts/mysite/staticpublisher/code/controllers/StaticExporter.php on line 53"

Can anyone help me with this error or recommend another module or code to generate static HTML pages?

Thanks in advance
boo

Avatar
Willr

Forum Moderator, 5513 Posts

23 March 2014 at 6:09pm

Sounds like a typo, that set() doesn't exist (fixed in https://github.com/silverstripe-labs/silverstripe-staticpublisher/commit/1a4e07c0360bb67038d752ef62d94f4f1ade9c29)