I am getting the following error when deleting rule :


# warning: array_merge() [function.array-merge]: Argument #1 is not an array in C:\wamp\www\golf-my\includes\menu.inc on line 415.
# warning: Missing argument 1 for drupal_get_form() in C:\wamp\www\golf-my\includes\form.inc on line 48.
# warning: Missing argument 1 for drupal_retrieve_form() in C:\wamp\www\golf-my\includes\form.inc on line 178.
# warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '' was given in C:\wamp\www\golf-my\includes\form.inc on line 217

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

I'm not able to reproduce this bug with the latest development snapshot. Could you please try to update your module and report back if this bug still exists?

najibx’s picture

same result. Well... now I have a Message Effects 5.x-0.6, the messge error only flash for a second.

I use the latest version as of today ....

Drupal 5.x-dev (2007-Oct-07)
sIFR 5.x-1.x-dev 2007-Sep-04

BTW, I tried or Aberdeen and Pushbutton theme

Other than, not being able to delete ... it's working wonderful.

suit4’s picture

Title: cannot delete rules » same here - cannot delete rules

Rules cannot be deleted. Simple as that.

Not the delete icon from rules manager, neither the delete button from the edit form works.
The problem is - I think - that there is no rid passed to the delete function, or the rid has to be fetched via arg(5).

btw: this should not have anything to do with the used themes.

I came across this bug while integrating a new plugin with png-replacements for the text chunks like mentioned on 'A List Apart'.

sun’s picture

Title: same here - cannot delete rules » cannot delete rules

@suit4: Please do not change issue titles.

Tested again - I am still not able to reproduce this bug. Do you have Clean URLs enabled? What other modules are enabled, and, do you still encounter the bug, if you temporarily disable all other contrib modules?

najibx’s picture

Errr ... with fresh start 5.3, no additional modules installed except the defaults, only additional SIFR module. Not enabled clean-URLs. Same result.

But have it running in multisite config, only different database.

rl’s picture

Having the same problem with the Dev release of SIFR from today. I am running latest official Drupal 5 release. - Rich

warning: array_merge(): Argument #1 is not an array in C:\apache2triad\htdocs\Kimmy\includes\menu.inc on line 415. 
warning: Missing argument 1 for drupal_get_form() in C:\apache2triad\htdocs\Kimmy\includes\form.inc on line 48. 
warning: Missing argument 1 for drupal_retrieve_form() in C:\apache2triad\htdocs\Kimmy\includes\form.inc on line 178. 
warning: call_user_func_array(): First argument is expected to be a valid callback, '' was given in C:\apache2triad\htdocs\Kimmy\includes\form.inc on line 217. 
rl’s picture

sun,

The status indicates active needing more information. What information do you need?

For now, I just create a bogus CSS selector to delete an entry. Not very elegant.

BTW, thanks for the module. It sure beats hand crafting span replacements.

Rich

sun’s picture

Version: 5.x-1.x-dev » 5.x-1.2
Status: Postponed (maintainer needs more info) » Fixed

I've committed a patch that fixes this issue. A new (and probably last) release of sIFR will be available soon.

FYI: Further developments are happening in the Dynamic Rendering project.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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