I have created a couple of brackets at this time, however when trying to view the brackets when not logged in as an administrator I get this Fatal Error message.

Fatal error: Unsupported operand types in ../includes/common.inc on line 1592

Comments

davipilot’s picture

Version: 6.x-1.3 » 6.x-2.x-dev

I upgraded to 6.x-2.x-dev today thinking this had something to do with it. http://drupal.org/node/1167758.

This did not fix my issue. I am still unable to get my brackets to display outside of being logged in as admin.

jimbullington’s picture

If you look at common.inc around line 1592 (in 6.22):

function l($text, $path, $options = array()) {
  global $language;

  // Merge in defaults.
  $options += array(
      'attributes' => array(),
      'html' => FALSE,
    );    <<< line 1592

If looks like something may be passing a non-array in the optional $options argument. I've looked through the bracket code and can't find where it uses the optional $options argument. I don't see any messages when I display a bracket as an anonymous user in my test system.

It may be caused by another module - could you disable some other modules as a test?

davipilot’s picture

@jimbullington, thanks for the help. I am checking through the modules.

I was able to pull this out of the Report Log.

Type: access denied
node/288
Backtrace:
index.php

Does this help any?

jimbullington’s picture

I assume you have given the anonymous user 'view bracket' access?

davipilot’s picture

Status: Active » Closed (works as designed)

Ta-da and we have a winner.

Thanks for the assistance.

jimbullington’s picture

Some basic documentation from the module maintainer would probably help - sorry about that - maybe one day...