Jump to content
thirty bees forum

Recommended Posts

Posted

Hi,

so today basically - i tried to make auto group assignment through datakicks module "Consequences" - which is awesome.

When I go (as a customer), and set up DNI (tax ID numb.) - it shoud automatically change customer group to another one.

Unfortunatly here comes error: 

Fatal error: Call to protected method LinkCore::getBaseLink() from context 'Conseqs\Trigger' in /data/4/1/416845245904f-c044-4719-963b-e3df8996d456cd5/xxxxxxxxx/web/modules/conseqs/classes/trigger.php on line 160

160. $values->addParameter('context.shop.url', $context->link->getBaseLink($context->shop->id));

So i tried to use getBaseURL - same error, also tried getPageBase (not sure if returns are same but just tried) - which seems to worked around but did not assign customer to new group.. 

 

Any ideas? 

 

 

Posted

i did not, but someone before me could.. so i just replaced (backup fisrt) Link.php with default one, and it seems to be working - no errors - but group is not assigned .. so gona look for that now 

Posted

I have created similar rule on my demo server, and it works fine.

You can test your rule on my demo server, just to see if it's environment specific problem. If the rule works on my server, then you might have some "other" issues on your server (similar to this Link).

http://demo.getdatakick.com/admin561wkvz9k

Anyway, you should run core updater to see what other core files has been modified.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...