Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I got this error in my linkit module, i tracked it down to where it renders the form:
change:
print theme('linkit_dashboard', array('form' => render(drupal_get_form('_linkit_form'))));
to
$_form = drupal_get_form('_linkit_form');
print theme('linkit_dashboard', array('form' => render($_form)));
That fixed the error for me
Comments
Comment #1
anonThanks for the code, I will test this later today.
Marked #1083992: warning in linkit_dashboard_page() as duplicated.
Comment #2
anonThanks for reporting and providing code to this issue.
This is now commited to 7.x.1.x
Comment #4
skilip CreditAttribution: skilip commentedThis bug still exists.
Comment #5
anonThere is a new issue about this, with a patch so I will mark this as dublicate for #1291694: Pass by reference