Another uses reported this as a sidenote in another issue, but we just ran into the same problem, so I created a real issue ticket.

Upon import of the users, it threw a WSOD, with this error:

Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in /web/modules/contrib/clever_reach/lib/BusinessLogic/Sync/GroupSyncTask.php on line 5

It is an easy fix; the nanemsapce line is not the first line of code, so I just swapped these two lines (after the <?php) and then it worked perfectly.

<?php

namespace CleverReach\BusinessLogic\Sync;

use CleverReach\Infrastructure\Exceptions\InvalidConfigurationException;
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

hoporr created an issue. See original summary.

Mohd Sahzad made their first commit to this issue’s fork.

Mohd Sahzad changed the visibility of the branch 3432107-WSOD-Namespace-declarion-issue to hidden.

Mohd Sahzad changed the visibility of the branch 3432107-Namespace-declarion-issue to hidden.

mohd sahzad’s picture

Status: Active » Needs review
StatusFileSize
new477 bytes

I have created patch for this issue, so please review attached patch

hoporr’s picture

Status: Needs review » Reviewed & tested by the community

Patch applies clean and system runs well. Thank you.

I set this issue to "Reviewed & tested by the community".