To fix go to the file class/xml.php
Find line 366:
if( $v['attributes']) {
Replace with:
if( isset( $v['attributes'] ) && $v['attributes']) {
Hope this helps ;-)
https://wordpress.org/support/topic/warning-illegal-string-offset-1
Warning: Illegal string offset 'attributes' in \wp-content\plugins\automatic-youtube-video-posts\class\xml.php on line 377
Warning: Illegal string offset 'value' php
// In some circumstances, web-servers will double compress gzipped files.
// This may help aleviate that issue by disabling mod-deflate.
if ($this->mimetype() == 'application/x-gzip') {
- $headers[] = 'Content-Encoding: gzip';
+ $headers[] = array('key' => 'Content-Encoding', 'value' => 'gzip');
}
if ($size = $this->info('filesize')) {
$headers[] = array('key' => 'Content-Length', 'value' => $size);
Find line 366:
if( $v['attributes']) {
Replace with:
if( isset( $v['attributes'] ) && $v['attributes']) {
Hope this helps ;-)
https://wordpress.org/support/topic/warning-illegal-string-offset-1
Warning: Illegal string offset 'attributes' in \wp-content\plugins\automatic-youtube-video-posts\class\xml.php on line 377
Warning: Illegal string offset 'value' php
// In some circumstances, web-servers will double compress gzipped files.
// This may help aleviate that issue by disabling mod-deflate.
if ($this->mimetype() == 'application/x-gzip') {
- $headers[] = 'Content-Encoding: gzip';
+ $headers[] = array('key' => 'Content-Encoding', 'value' => 'gzip');
}
if ($size = $this->info('filesize')) {
$headers[] = array('key' => 'Content-Length', 'value' => $size);