Hi,

I am trying to upgrade from 4.7 - 5.14 - 6.8. Everything works fine so far, the only problem I have is concerning the og module.

From 4.7 - 5.14 I get the following warning:

warning: array_merge() [function.array-merge]: Argument #2 is not an array in /is/htdocs/wp1048103_AITITCBAUP/www/alt/update.php on line 309.
warning: Invalid argument supplied for foreach() in /is/htdocs/wp1048103_AITITCBAUP/www/alt/update.php on line 542.

But afterwards (and after manually creating a content type og), everything works fine. When I try to upgrad from 5.14 to 6.8, however, I get an "unrecoverable error":

An error occurred. http://.../update.php?id=3&op=do
Fatal error: Call to undefined function og_get_types() in /is/htdocs/wp1048103_AITITCBAUP/www/alt/sites/all/modules/og/og.install on line 337

Any idea how to deal with that?

Greetings
am22

Comments

moshe weitzman’s picture

Status: Active » Fixed

I just committed an attempted fix for this yesterday. Please try to upgrade to the dev snapshot (i.e. HEAD) instead of 6.8. let us know how it went.

am22’s picture

Sorry for the double-posting. Actually, it even worked without the fix. All I had to do was to activate the module and run upgrade.php again (I did not try to activate it before). I now got the same warning as mentioned before, but everything seems to work.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.