Thread Tools Display Modes
03/01/20, 03:27 AM   #1
bobhansson
Join Date: Mar 2020
Posts: 4
Harvest map error

Hi, new here. So feel free to educate me ^^

user:/AddOns/HarvestMap/Modules/HarvestMap/Options/MainMenu.lua:27: function expected instead of nil
stack traceback:
user:/AddOns/HarvestMap/Modules/HarvestMap/Options/MainMenu.lua:27: in function 'Menu:Initialize'
user:/AddOns/HarvestMap/Modules/HarvestMap/HarvestMap.lua:31: in function 'Harvest:InitializeModules'
user:/AddOns/HarvestMap/Modules/HarvestMap/HarvestMap.lua:57: in function 'Harvest.OnLoad'

I get these on login. And I don't understand any of it.

Can anyone help me fix these?

Very new to Eso and Modding so have very little knowledge of any of it.

/Bob
  Reply With Quote
03/01/20, 04:50 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
This means your installation of the addon is missing a function. Taking a quick look at the code of HarvestMap it looks like you need to install the most current version of LibMainMenu v1.
  Reply With Quote
03/01/20, 06:03 AM   #3
bobhansson
Join Date: Mar 2020
Posts: 4
Hey, thanks for the reply.

But.. I already have both LibMainMenu by Ayantir and LibMainMenu-2.0 by Votan installed?

/Bob
  Reply With Quote
03/01/20, 09:50 AM   #4
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
In that case your installation may be broken and you should try to remove both HarvestMap and LibMainMenu from your addon folder and install them again.
  Reply With Quote
03/01/20, 11:18 AM   #5
Knurps
Join Date: Oct 2019
Posts: 3
Some addons (eg PVPmeter) contain an old version of LibMainMenu which is incompatible with the current version used in HarvestMap, pChat etc.
  Reply With Quote
03/01/20, 01:00 PM   #6
bobhansson
Join Date: Mar 2020
Posts: 4
Hi

Reinstalled both HarvestMap and both Libmain mentioned. But still the same error I'm afraid.

Be happy for more suggestions.

/Bob
  Reply With Quote
03/01/20, 03:13 PM   #7
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
As Knurps has suggested, there could be an old version of the library hiding somewhere in another addon. Try to search for LibMainMenu and remove all folders except the one directly in the AddOns folder (and LibMainMenu-2.0 of course).
  Reply With Quote
03/01/20, 03:46 PM   #8
bobhansson
Join Date: Mar 2020
Posts: 4
YES! It worked!

Just like Knurps said, Pvpmeter was the one causing the disturbance.

Thank you for your help and support ^^

/Bob
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Harvest map error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off