Fix error of plugin DMCA Website Protection Badge

Fix error of plugin DMCA Website Protection Badge

ErrorException Message: syntax error, unexpected ” (T_ENCAPSED_AND_WHITESPACE), expecting ‘-‘ or identifier (T_STRING) or variable (T_VARIABLE) or number (T_NUM_STRING)

Solution 1: You should not use the plugin, register for DMCA on https://www.dmca.com/,
Then copy the code into the Footer of the website or create a Widget and embed the code in

HOW TO REGISTER WEBSITE COPYRIGHT ON DMCA

To register a website copyright under the Digital Millennium Copyright Act (DMCA), follow these steps:

  1. Create a Copyright Notice: Include a copyright notice on your website that consists of the copyright symbol (©), the year of first publication, and the copyright owner’s name. For example: “Copyright © [Year] [Your Name]. All rights reserved.”
  2. Register with the U.S. Copyright Office (Optional): While DMCA registration is not required, it can provide additional legal benefits and protections. To register your website with the U.S. Copyright Office, visit their website at copyright.gov and follow the registration process. This typically involves submitting an application, paying a fee, and providing a copy of the website content or relevant materials.
  3. Designate a DMCA Agent: To benefit from the safe harbor provisions of the DMCA, designate a DMCA agent who will receive and handle copyright infringement claims on your behalf. The agent’s contact information, including name, address, phone number, and email, should be provided on your website. You can register your DMCA agent with the U.S. Copyright Office or use a third-party service that offers DMCA agent registration.
  4. Implement a DMCA Policy: Create and publish a DMCA policy on your website, outlining the procedures for reporting copyright infringement. Include information on how copyright holders can submit infringement notices, the required information to include in the notice, and your commitment to responding promptly to valid notices and taking appropriate action.
  5. Display DMCA Badges or Icons: Display DMCA badges or icons on your website to deter potential infringers and indicate that your website is protected under the DMCA. These badges can be obtained from the DMCA.com website or other DMCA service providers.
  6. Monitor and Respond to Infringement Notices: Regularly monitor your website for potential copyright infringement. If you receive a DMCA infringement notice, promptly investigate the claim, remove the infringing content if necessary, and follow the DMCA’s counter-notification process if you believe the claim is invalid.

It’s important to note that while these steps can help protect your copyright and benefit from the DMCA’s safe harbor provisions, consulting with a legal professional specializing in copyright law is advisable for accurate guidance and to ensure compliance with copyright regulations and laws specific to your jurisdiction.

Solution 2: This error usually occurs with some versions of PHP, for example 7.0.33…, you can upgrade to the latest PHP version to fix this error.

Note: I recommend that you do not install the plugin because it will affect the speed of the website, and the security of the website.

SHARE
By We say

Leave a Reply

Your email address will not be published. Required fields are marked *

No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.