Closed HansSchultz closed 1 year ago
hey - thanks for posting this, but I cannot reproduce. What version of PHP? Also, how exactly are you editing the attachment? From the gallery edit page?
also what version of WP?
Hey, the WP version is 4.5.3–da_DK**, which should be the newest available with danish language.
The php version is 5.6.24.
Here is more detailed info:
Server API: LiteSpeed V6.9
PHP API 20131106 PHP Extension 20131226 Zend Extension 220131226 Zend Extension Build API220131226,NTS PHP Extension Build API20131226,NTS Debug Build no Thread Safety disabled Zend Signal Handling disabled Zend Memory Manager enabled Zend Multibyte Support provided by mbstring IPv6 Support enabled DTrace Support disabled Registered PHP Streams https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip Registered Stream Socket Transports tcp, udp, unix, udg, ssl, sslv3, sslv2, tls, tlsv1.0, tlsv1.1, tlsv1.2 Registered Stream Filters zlib., bzip2., convert.iconv., mcrypt., mdecrypt._, string.rot13, string.toupper, string.tolower, string.striptags, convert., consumed, dechunk
It is a pdf document that i open/edit the repective page for from the media list, change the title f.eks. and submit it.
On 09-08-2016 16:00, bradvin wrote:
hey - thanks for posting this, but I cannot reproduce. What version of PHP? Also, how exactly are you editing the attachment? From the gallery edit page?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fooplugins/foogallery/issues/87#issuecomment-238561956, or mute the thread https://github.com/notifications/unsubscribe-auth/AT9W1CPAtTpny-KyfCuzdpiNme30XhL5ks5qeIgTgaJpZM4JgE2T.
please post the output from FooGallery -> System Info I think this might be a plugin conflict, and that is why I cannot reproduce it.
FooGallery version : 1.2.13 WordPress version : 4.5.3 Activated Theme : Bulan WordPress URL : http://aarhus-koncertkor.dk PHP version : 5.6.24 PHP GD Loaded : 2 Extensions Endpoint : https://raw.githubusercontent.com/fooplugins/foogallery-extensions/master/extensions.json Extensions Errors : Nope, all good Extensions : Extensions Active : Array ( [0] => default_templates )
Gallery Templates : Array ( [0] => default [1] => image-viewer [2] => justified [3] => masonry [4] => simple_portfolio [5] => thumbnail )
Lightboxes : Array ( )
Settings : Array ( )
Active Plugins : Array ( [0] => advanced-responsive-video-embedder/advanced-responsive-video-embedder.php [1] => ckeditor-for-wordpress/ckeditor_wordpress.php [2] => foobox-image-lightbox/foobox-free.php [3] => foogallery/foogallery.php [4] => imagemagick-engine/imagemagick-engine.php [5] => media-library-assistant/index.php [6] => menu-image/menu-image.php [7] => tt-sidebar-login-widget/tt-sidebar-login.php [8] => wordpress-importer/wordpress-importer.php )
Thanks! I see you have a plugin named Media Library Assistant. I will install that to see if there is a conflict
I tried disabling the MLA but it had no effect. Can it be some DB type mismatches that has occured from the use of this plugin?
I have also been trying out 'WP Media Category Management' plugin, but it is disabled for some time.
BTW, as i remember i have been using Foo Gallery since before the latest update and did not have this problem before, so i think it came since the latest update.
Is 1.2.11 or 1.2.12 downloadable from somewhere, so i can check with them and update when the problem is resolved?
https://wordpress.org/plugins/wp-rollback/ is the best solution I have found to rollback to a previous version of a plugin
In MLA - did you setup any custom fields or mappings? Can you export your MLA settings and share?
Here is the full output of the error, might help...
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/aarhus-koncertkor.dk/public_html/wp-includes/post.php on line 3592
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/aarhus-koncertkor.dk/public_html/wp-includes/post.php on line 3592
Warning: Cannot modify header information - headers already sent by (output started at /var/www/aarhus-koncertkor.dk/public_html/wp-includes/post.php:3592) in /var/www/aarhus-koncertkor.dk/public_html/wp-includes/pluggable.php on line 1167
On 09-08-2016 17:38, bradvin wrote:
In MLA - did you setup any custom fields or mappings? Can you export your MLA settings and share?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fooplugins/foogallery/issues/87#issuecomment-238593718, or mute the thread https://github.com/notifications/unsubscribe-auth/AT9W1GkM4ft9TSQhYz5Nlv9OKz3-v5lhks5qeJ8PgaJpZM4JgE2T.
Here are my mla settings...
a:13:{s:23:"image_default_link_type";s:4:"none";s:15:"current_version";s:4:"2.31";s:17:"gallery_in_tuning";s:7:"dynamic";s:21:"mla_gallery_in_tuning";s:7:"dynamic";s:16:"taxonomy_support";a:6:{s:11:"tax_support";a:1:{s:19:"attachment_category";s:7:"checked";}s:14:"tax_quick_edit";a:1:{s:19:"attachment_category";s:7:"checked";}s:15:"tax_term_search";a:1:{s:19:"attachment_category";s:7:"checked";}s:18:"tax_flat_checklist";a:0:{}s:18:"tax_checked_on_top";a:1:{s:19:"attachment_category";s:7:"checked";}s:10:"tax_filter";s:19:"attachment_category";}s:28:"search_media_filter_defaults";a:2:{s:16:"search_connector";s:3:"AND";s:13:"search_fields";a:2:{i:0;s:5:"title";i:1;s:7:"content";}}s:19:"mla_gallery_columns";s:1:"1";s:15:"style_templates";a:1:{s:11:"list-custom";s:484:"
margin: auto;
width: 100%;
}
#[+selector+] .gallery-item {
float: [+float+];
margin: [+margin+];
text-align: left;
width: [+itemwidth+];
}
#[+selector+] .gallery-item .gallery-icon img {
border: 2px solid #454545;
}
#[+selector+] .gallery-caption {
margin-left: 0;
vertical-align: top;
}
/\* see mla_gallery_shortcode() in media-library-assistant/includes/class-mla-shortcode-support.php */
";}s:16:"markup_templates";a:1:{s:11:"list-custom";a:6:{s:9:"arguments";s:0:"";s:4:"open";s:97:"<div class="entry-content" itemprop="text" id='[+selector+]' gallery-size-[+size_class+]'>
The problem comes between FooGallery 1.2.9 and 1.2.10. Thus 1.2.9 works and 1.2.10 does not.
Did you manage to reproduce the error?
Newest update of foogallery (v 1.2.13) gives the warning: warning array_merge() : argument 2 is not an array in /public_html/wp-includes/post.php line 3592
3591 // Merge old and new fields with new fields overwriting old ones.
3592 $postarr = array_merge($post, $postarr);
when making changes and to element in medialibrary and upon submitting the changes.
Changes unsuccessful! By changing line 3592 to:
3592 $postarr = array_merge((array) $post, (array) $postarr);
the error does not occur, but the changes take no effect!