After installing Sweaver I get the following warnings:
Warning: asort() expects parameter 1 to be array, null given in template_preprocess_sweaver_plugin() (line 22 of C:\wamp\www\drupal\sites\all\modules\sweaver\skins\default\
Warning: Invalid argument supplied for foreach() in template_preprocess_sweaver_plugin() (line 23 of C:\wamp\www\drupal\sites\all\modules\sweaver\skins\default\

The user interface does not show up at the bottom of the page but just the up down arrow on the left corner, which just changes to up or down when clicked and shows nothing else.


SharonD214’s picture

I've figured out what the problem is. I'm also using PHP filter. If it is turned off the Warning disappears and the Sweaver GUI will show up. Any ideas how to fix this?

teststation12’s picture

i have same issue, but i figure'it out
Also i have this message in logs (old sweaver)
DatabaseSchemaObjectExistsException: Table sweaver_style already exists. in DatabaseSchema->createTable() (line 630 of /opt/lampp/htdocs/site_name/includes/database/

1.Disable the module sweaver
2.Go to Mysql query browser and drop sweaver tables
3. Enable sweaver
and now is fine.

jyve’s picture

Assigned: Unassigned » swentel
swentel’s picture

Status: Active » Postponed (maintainer needs more info)

The PHP filter being enabled doesn't make sense it all looking at the code. Also, I can't reproduce this behavior at all at the moment.

omar’s picture

For me the "sweaver interface not showing up" is related to the use of a superfish menu using the "default" style (see #1212968: Sweaver overlay does not work when superfish menu styles are set as default.).

Quentin Albrand’s picture

Status: Postponed (maintainer needs more info) » Fixed

Actually from my experience Sweaver not showing up and the error displayed are two very different bugs. The first one is not related to Sweaver itself but to a jQuery incompatibility due to the interference of other modules. While the second one is a well known bug of Sweaver 7.x-1-1 which has been corrected in the dev version.

Status: Fixed » Closed (fixed)

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

candelas’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Status: Closed (fixed) » Active

i get this on the dev version
no idea what it can be.
i was making a site and i got sweaver not showing and no error.
i disable it and keep working.
now that i have more time i activate it and i get this error.
any tip where i can look?

@SharonD214 i use php filter, i disable it and uninstall, flush twice cache and the error keeps being.

@swentel if you want i can put my module list or try anything for debugging.

very good module, i hope you get interested again on it and make a 8 release :)
thanks for the module

candelas’s picture

PHP Version 5.3.10-1ubuntu3.7

candelas’s picture

at the end i was able to use it without jquery update (that now doesnt suport jquery 1.6). it is runing with jquery 1.4.4 without problems.

kyleheney’s picture

I'm using D7 and installed and enabled the Sweaver module, but nothing shows up at the bottom of the screen. I have no idea why and I can't seem to find any instructions on how to get it to work.