Home Forums Newsletter Plugin Support Error controls.php – Version 7.8.4

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #302607
    No02
    Participant

    Last year I started using the plugin on my website, since then everything was going well. I never added custom code to the plugin and now i got the following error:

    “Cannot declare class NewsletterControls, because the name is already in use” in the following file on line 6 /var/www/html/wp-content/plugins/newsletter/includes/controls.php

    Here some information about my current Versions:
    WordPress: 6.2.2
    Newsletter: 7.8.4
    PHP: 7.3.33

    Would be great if someone got a solution for me.

    #302608
    Stefano
    Keymaster

    Hi, if the error is in your custom code, check if you have an “include” for NewsletterControls and change it to “include_once”, probably this is the problem.

    #302609
    No02
    Participant

    Hi, thanks for the fast reply. I didn’t add custom code, so this probably won’t solve my issue.

    #302611
    No02
    Participant

    I use the plugin on another website to, and it is working perfectly. The only difference is the Version. Is there a way to downgrade the plugin again?

    #302644
    Roberto
    Keymaster

    You can find all the previous versions at https://wordpress.org/plugins/newsletter/advanced/
    Regards,
    Roberto

    #302647
    Stefano
    Keymaster

    Can you find the full error report in your error logs? This way we can identify the source of the error.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.