• Resolved shawdan

    (@shawdan)


    My site works properly. But I have two installed pdf embedder plugins, cannot delete one of them. Various techs from Bluehost think they correct the problem, but it recurs. I repeatedly get this email for the last year or so:

    WordPress wordpress@[redacted]

    7:51 AM (16 minutes ago)

    to me

    Howdy!

    Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email.

    In this case, WordPress caught an error with one of your plugins, PDF Embedder.

    First, visit your website and check for any visible issues. Next, visit the page where the error was caught and check for any visible issues.

    Please contact your host for assistance with investigating this issue further.

    If your site appears broken and you can’t access your dashboard normally, WordPress now has a special “recovery mode”. This lets you safely login to your dashboard and investigate further.

    https://danielshawlcsw.com/wp-login.php?action=enter_recovery_mode&rm_token=dxxxxx&rm_key=xxx

    To keep your site safe, this link will expire in 1 day. Don’t worry about that, though: a new link will be emailed to you if the error occurs again after it expires.

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.4
    Current theme: Impreza Child (version 1.0)
    Current plugin: PDF Embedder (version 4.6)
    PHP version 7.4.33

    Error Details
    =============
    An error of type E_COMPILE_ERROR was caused in line 3 of the file /home4/danieon8/public_html/danielshaw/wp-content/plugins/pdf-embedder/core/core_pdf_embedder.php. Error message: Cannot declare class core_pdf_embedder, because the name is already in use

Viewing 2 replies - 1 through 2 (of 2 total)
  • BluehostSupport

    (@bluehostsupport)

    Though your website looks fine, the error you encountered “Cannot declare class core_pdf_embedder, because the name is already in use,” means the class is being defined more than once. Here are some steps we typically find can help address the issue:

    *First and foremost, be sure to take a new backup of your site files and database should anything go sideways.

    1. Check for Duplicate Plugins
    Log in to your WP dashboard and go to the Plugins section. Look for multiple PDF Embedder plugins installed. Another way is to access File Manager and navigate to your website directory (wp-content/plugins/). Once you find them, kindly try deleting the older or the duplicate version.

    2. Disable the Plugin
    Still in File Manager (wp-content/plugins/), you may also try renaming the extra PDF Embedder folder(s) to something like pdf-embedder-disabled or pdf-embedder-old. This will deactivate the plugin.

    3. Try Reinstalling the Plugin
    If renaming the plugin folder fixes the issue, log back into WordPress and delete the plugin from the Plugins section, Then reinstall a fresh version.

    If that does not resolve the issue, you may need to check for any conflicting plugins or themes. Try temporarily switching to a default WordPress theme and disabling other plugins to see if there is a conflict. Then reactivate them one by one to identify the culprit.

    Also, it’s worth noting the PHP version of your website. Based on the report, your website is still using the deprecated PHP 7.4 version. Try upgrading to a higher PHP version so long as the other plugins, scripts and such are all updated and compatible with the latest version. Our support team may also be able to help guide you on some of the more basic troubleshooting as well if you get stuck. They are available by phone or chat 24/7. Let us know how it goes!

    Plugin Author Slava Abakumov

    (@slaffik)

    Hey @shawdan,

    Based on the message, you are using an old version of the PDF Embedder v4.6, which was released years ago.

    Which other PDF Embedder plugins do you have? The Premium version requires PDF Embedder 4.9.0. And both the latest free version and the latest premium version should be installed and activated on a site.

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