Title: Deprecated Code Can&#8217;t Use Until Fixed
Last modified: March 20, 2018

---

# Deprecated Code Can’t Use Until Fixed

 *  [thenoobiest](https://wordpress.org/support/users/thenoobiest/)
 * (@thenoobiest)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/deprecated-code-cant-use-until-fixed/)
 * Hi there,
    paid for your pro pack as it looks great, sadly maybe should have 
   tried the free one first.. your plugin is causing errors (listed below), if it
   was just in the back end I wouldn’t mind so much but its over the entire site
   so can’t use the plugin until yours sorted them out.
 * Hope you get them fixed soon really want to use it 🙂
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; fileClass has a deprecated constructor in plugins/
   automatic-video-posts/class/file.php on line 19
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; pagination has a deprecated constructor in plugins/
   automatic-video-posts/class/pagination.php on line 17
 * Deprecated: Methods with the same name as their class will not be constructors
   in a future version of PHP; parseForm has a deprecated constructor in plugins/
   automatic-video-posts/class/forms.php on line 20

Viewing 1 replies (of 1 total)

 *  Plugin Author [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * (@mpraetzel)
 * [8 years ago](https://wordpress.org/support/topic/deprecated-code-cant-use-until-fixed/#post-10250621)
 * Hello, friend. What version of PHP are you running? Try this for me, on the lines
   mentioned where the function names match the class names, change the function
   names to __construct
 * So on file.php change fileClass to __construct. Let me know if this makes a difference
   for you.

Viewing 1 replies (of 1 total)

The topic ‘Deprecated Code Can’t Use Until Fixed’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [ternstyle](https://wordpress.org/support/users/mpraetzel/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/deprecated-code-cant-use-until-fixed/#post-10250621)
 * Status: not resolved