{"id":25019,"date":"2021-11-17T05:05:18","date_gmt":"2021-11-17T10:05:18","guid":{"rendered":"https:\/\/plumrocket.com\/docs\/?p=25019"},"modified":"2021-11-17T05:06:30","modified_gmt":"2021-11-17T10:06:30","slug":"module-plumrocket_gdpr-has-been-already-defined","status":"publish","type":"post","link":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined","title":{"rendered":"Module Plumrocket_GDPR has been already defined"},"content":{"rendered":"\n<h2 id=\"h-issue-description\">Issue Description<\/h2>\n\n\n\n<p>When updating <a href=\"\/magento-gdpr\">Magento 2 GDPR extension<\/a>, you may encounter the following issue:<\/p>\n\n\n\n<p><code>Uncaught LogicException: Module 'Plumrocket_GDPR' from 'vendor\/plumrocket\/module-gdpr' has been already defined in 'vendor\/plumrocket\/module-gdpr-old'<\/code><\/p>\n\n\n\n<p>In order for Magento Marketplace customers to download the GDPR extension, we have changed the extension composer package name from <code>plumrocket \/ module-gdpr<\/code> to <code>plumrocket \/ module-gdpr-old<\/code>.<br>Therefore, when updating a module via composer, the issue may occur due to duplicate modules.<\/p>\n\n\n\n<h2 id=\"h-solution\">Solution<\/h2>\n\n\n\n<p>To complete the extension update, you need to remove the <code>plumrocket \/ module-gdpr<\/code> package with the following command:<\/p>\n\n\n\n<div class=\"wp-block-prismatic-blocks\"><div><\/div><pre><code class=\"language-bash\">composer remove plumrocket\/module-gdpr<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module &#8216;Plumrocket_GDPR&#8217; from &#8216;vendor\/plumrocket\/module-gdpr&#8217; has been already defined in &#8216;vendor\/plumrocket\/module-gdpr-old&#8217; In order for Magento Marketplace customers to download the GDPR extension, we have changed the extension composer package name from plumrocket \/ module-gdpr to plumrocket \/ module-gdpr-old.Therefore, when updating &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Module Plumrocket_GDPR has been already defined&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[336],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v17.2 (Yoast SEO v17.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Module Plumrocket_GDPR has been already defined - Plumrocket Documentation<\/title>\n<meta name=\"description\" content=\"Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module &#039;Plumrocket_GDPR&#039; from\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Module Plumrocket_GDPR has been already defined\" \/>\n<meta property=\"og:description\" content=\"Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module &#039;Plumrocket_GDPR&#039; from\" \/>\n<meta property=\"og:url\" content=\"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined\" \/>\n<meta property=\"og:site_name\" content=\"Plumrocket Documentation\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-17T10:05:18+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-11-17T10:06:30+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Plumrocket\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Module Plumrocket_GDPR has been already defined - Plumrocket Documentation","description":"Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module 'Plumrocket_GDPR' from","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined","og_locale":"en_US","og_type":"article","og_title":"Module Plumrocket_GDPR has been already defined","og_description":"Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module 'Plumrocket_GDPR' from","og_url":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined","og_site_name":"Plumrocket Documentation","article_published_time":"2021-11-17T10:05:18+00:00","article_modified_time":"2021-11-17T10:06:30+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Plumrocket","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/plumrocket.com\/docs\/#website","url":"https:\/\/plumrocket.com\/docs\/","name":"Plumrocket Documentation","description":"Extensions docs, troubleshootings etc.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/plumrocket.com\/docs\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined#webpage","url":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined","name":"Module Plumrocket_GDPR has been already defined - Plumrocket Documentation","isPartOf":{"@id":"https:\/\/plumrocket.com\/docs\/#website"},"datePublished":"2021-11-17T10:05:18+00:00","dateModified":"2021-11-17T10:06:30+00:00","author":{"@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8"},"description":"Issue Description When updating Magento 2 GDPR extension, you may encounter the following issue: Uncaught LogicException: Module 'Plumrocket_GDPR' from","breadcrumb":{"@id":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting\/module-defined#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Magento 2 Extensions","item":"https:\/\/plumrocket.com\/magento-extensions"},{"@type":"ListItem","position":2,"name":"Magento 2 GDPR","item":"https:\/\/plumrocket.com\/magento-gdpr"},{"@type":"ListItem","position":3,"name":"Documentation","item":"https:\/\/plumrocket.com\/docs\/magento-gdpr"},{"@type":"ListItem","position":4,"name":"v3","item":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3"},{"@type":"ListItem","position":5,"name":"Troubleshooting","item":"https:\/\/plumrocket.com\/docs\/magento-gdpr\/v3\/troubleshooting"},{"@type":"ListItem","position":6,"name":"Module Plumrocket_GDPR has been already defined"}]},{"@type":"Person","@id":"https:\/\/plumrocket.com\/docs\/#\/schema\/person\/c96fccdb89342ae6804272265723eca8","name":"Plumrocket","image":{"@type":"ImageObject","@id":"https:\/\/plumrocket.com\/docs\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10c44aa45aab391250913d982e552e53?s=96&d=mm&r=g","caption":"Plumrocket"}}]}},"_links":{"self":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25019"}],"collection":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/comments?post=25019"}],"version-history":[{"count":4,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25019\/revisions"}],"predecessor-version":[{"id":25025,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/posts\/25019\/revisions\/25025"}],"wp:attachment":[{"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/media?parent=25019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/categories?post=25019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/plumrocket.com\/docs\/wp-json\/wp\/v2\/tags?post=25019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}