3 users online. Create an account or sign in to join them.Users

Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#515: [Beta 3] Cannot create Event

I get the following error:

in_array() expects parameter 2 to be array, null given
/home/nils/Server/local/symphony-2/extensions/xssfilter/extension.driver.php line 44

39      }
40      
41      public function appendEventFilter($context) {
42          $context['options'][] = array(
43              'xss-fail',
44              @in_array('xss-fail', $context['selected']),
45              'Filter XSS: Fail if malicious input is detected'
46          );
47      }
48  

when trying to create an event.

Are you sure this is beta3? It works for me (using the beta3 ZIP download).

What is your error_reporting set to?

I know on my branch (which I don’t think has been merged yet), EWARNING is raised as exceptions. There is a new Configuration option, stricterror_handling that will turn this feature on and off though.

Regardless, I’ve added some extra checks in this commit.

I just pulled beta4 from scratch and this problem is gone.

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details