Forums

warning: illegal offset type in widgets.php (text) (1 post)

  1. cssjunkie
    Member
    Posted 9 months ago #

    When I add the Text Widget to the sidebar (or anywhere), i get this warning for lines 34 35 and 36:

    illegal offset type in plugins/semiologic/admin/widgets.php

    It's behaving weirdly too, disappearing even when i click "Change" in the widget and then "Save Changes" below.

    If Notepad++ didn't re-number the lines, this is the code in question:

    34 $title = attribute_escape($options[$number]['title']);
    35 $text = format_to_edit($options[$number]['text']);
    36 $filter = (bool) $options[$number]['filter'];

    thanks in advance for help

Reply

You must log in to post.

About this Topic