Bug 1253940 - array_merge(): Argument #1 is not an array in /usr/share/pear/Net/Sieve.php on line 312
Summary: array_merge(): Argument #1 is not an array in /usr/share/pear/Net/Sieve.php o...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: php-pear-Net-Sieve
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-15 21:06 UTC by Vladislav Grigoryev
Modified: 2016-01-13 04:26 UTC (History)
2 users (show)

Fixed In Version: php-pear-Net-Sieve-1.3.4-4.fc23 php-pear-Net-Sieve-1.3.4-4.fc22 php-pear-Net-Sieve-1.3.4-4.el7
Clone Of:
Environment:
Last Closed: 2016-01-07 19:56:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
PEAR 20983 0 None None None Never

Description Vladislav Grigoryev 2015-08-15 21:06:37 UTC
Description of problem:
/var/log/roundcubemail/errors:
PHP Warning:  array_merge(): Argument #1 is not an array in /usr/share/pear/Net/Sieve.php on line 312

Version-Release number of selected component (if applicable):
php-pear-Net-Sieve-1.3.4-1.fc22.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Configure roundcubemail + sieve:
/etc/roundcubemail/config.inc.php:
...
$config['managesieve_usetls'] = true;
$config['managesieve_conn_options'] = array(
  'ssl' => array(
    'cafile' => '/etc/pki/tls/certs/ca.example.org.crt',
  ),
);
...
2. Login to roundcubemail and open sieve filters.
3. Check log-file /var/log/roundcubemail/errors.

Comment 1 Remi Collet 2015-11-10 06:27:26 UTC
This is only a warning.

According to Net_Sieve code... this is not fixed.. merging NULL + given array.

Can you please report this upstream ?
http://pear.php.net/bugs/report.php?package=Net_Sieve

Comment 2 Remi Collet 2015-11-10 06:34:25 UTC
See https://github.com/pear/Net_Sieve/pull/6

@ArcFi can you please test the proposed fix ?

Comment 3 Vladislav Grigoryev 2015-11-14 10:12:26 UTC
(In reply to Remi Collet from comment #1)
> Can you please report this upstream ?
> http://pear.php.net/bugs/report.php?package=Net_Sieve

Done:
https://pear.php.net/bugs/bug.php?id=20983

(In reply to Remi Collet from comment #2)
> See https://github.com/pear/Net_Sieve/pull/6
> @ArcFi can you please test the proposed fix ?

This patch resolves the issue.
Thank you.

Comment 4 Fedora Update System 2015-12-28 14:46:35 UTC
php-pear-Net-Sieve-1.3.4-4.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-92199cc75e

Comment 5 Fedora Update System 2015-12-28 14:46:40 UTC
php-pear-Net-Sieve-1.3.4-4.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2015-5cf44b35b2

Comment 6 Fedora Update System 2015-12-29 00:25:49 UTC
php-pear-Net-Sieve-1.3.4-4.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-cf039cefc4

Comment 7 Fedora Update System 2015-12-29 00:54:49 UTC
php-pear-Net-Sieve-1.3.4-4.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-92199cc75e

Comment 8 Fedora Update System 2015-12-30 20:54:08 UTC
php-pear-Net-Sieve-1.3.4-4.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-5cf44b35b2

Comment 9 Fedora Update System 2016-01-07 19:56:09 UTC
php-pear-Net-Sieve-1.3.4-4.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2016-01-08 03:21:17 UTC
php-pear-Net-Sieve-1.3.4-4.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2016-01-13 04:26:21 UTC
php-pear-Net-Sieve-1.3.4-4.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.