on 2018 Mar 01 6:45 AM
Hi Alll
I am getting null for getCurrentBaseSite() and getCurrentBaseStore()
But it returns value for getAllBaseStores() and getAllBaseSites().
How to set it currentBaseSite and currentBaseStore?
Can we set it through impex?
Request clarification before answering.
If you try to get current store or site from cronJob. It may be null or it may give some other Store or site because in cronjob some session values won't be available.
Tell from where you are calling getCurrentSite?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you using it from CronJob ? Please tell where it calling
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.