Title: PHP Error in xml.php
Last modified: August 21, 2016

---

# PHP Error in xml.php

 *  [TeeDev](https://wordpress.org/support/users/teedev/)
 * (@teedev)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-xmlphp/)
 * Everytime the plugin cron kicks in to import new videos I get the error below
   in my error_log file around 200-300 times. It used to print out to screen (both
   frontend and dashboard) but now it seems to only output to the log file.
 * PHP Warning: Illegal string offset ‘attributes’ in /home/user/public_html/wp-
   content/plugins/automatic-youtube-video-posts/class/xml.php on line 377
 * Can you advise the cause and fix please? I’m using v3.2 of the plugin
 * [http://wordpress.org/plugins/automatic-youtube-video-posts/](http://wordpress.org/plugins/automatic-youtube-video-posts/)

The topic ‘PHP Error in xml.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/automatic-youtube-video-posts_e39595.
   svg)
 * [Automatic Youtube Video Posts Plugin](https://wordpress.org/plugins/automatic-youtube-video-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/automatic-youtube-video-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/automatic-youtube-video-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/automatic-youtube-video-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/automatic-youtube-video-posts/reviews/)

## Tags

 * [cron](https://wordpress.org/support/topic-tag/cron/)
 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 0 replies
 * 1 participant
 * Last reply from: [TeeDev](https://wordpress.org/support/users/teedev/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/php-error-in-xmlphp/)
 * Status: not resolved