Support » Plugin: Automatic Youtube Video Posts Plugin » Deprecated Code Can’t 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

    (@mpraetzel)

    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.