Hi, I've recently moved from local MAMP server to live site. There were some minor problems, but I've fixed them all, except for the one I'm having with conditional views. Below is the error - can you help me fix it, please?
error:

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Drupal\Component\Plugin\Exception\PluginException</em>: Plugin (views_conditional_field) instance class &quot;Drupal\views_conditional\Plugin\views\field\ViewsConditionalField 2&quot; does not exist. in <em class="placeholder">Drupal\Component\Plugin\Factory\DefaultFactory::getPluginClass()</em> (line <em class="placeholder">97</em> of <em class="placeholder">ore/lib/Drupal/Component/Plugin/Factory/DefaultFactory.php</em>). <pre class="backtrace">Drupal\Core\Plugin\Factory\ContainerFactory-&gt;createInstance(&#039;views_conditional_field&#039;, Array) (Line: 76)
Drupal\Component\Plugin\PluginManagerBase-&gt;createInstance(&#039;views_conditional_field&#039;, Array) (Line: 121)
Drupal\views\Plugin\ViewsHandlerManager-&gt;createInstance(&#039;views_conditional_field&#039;, Array) (Line: 106)
Drupal\views\Plugin\ViewsHandlerManager-&gt;getHandler(Array, NULL) (Line: 889)
Drupal\views\Plugin\views\display\DisplayPluginBase-&gt;getHandlers(&#039;field&#039;) (Line: 1040)
Drupal\views\ViewExecutable-&gt;_initHandler(&#039;field&#039;, Array) (Line: 898)
Drupal\views\ViewExecutable-&gt;initHandlers() (Line: 2267)
Drupal\views\Plugin\views\display\DisplayPluginBase-&gt;preExecute() (Line: 1692)
Drupal\views\ViewExecutable-&gt;preExecute(Array) (Line: 1627)
Drupal\views\ViewExecutable-&gt;executeDisplay(&#039;page_1&#039;, Array) (Line: 77)
Drupal\views\Element\View::preRenderViewElement(Array)
call_user_func(Array, Array) (Line: 378)
Drupal\Core\Render\Renderer-&gt;doRender(Array, ) (Line: 195)
Drupal\Core\Render\Renderer-&gt;render(Array, ) (Line: 226)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;Drupal\Core\Render\MainContent\{closure}() (Line: 582)
Drupal\Core\Render\Renderer-&gt;executeInRenderContext(Object, Object) (Line: 227)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;prepare(Array, Object, Object) (Line: 117)
Drupal\Core\Render\MainContent\HtmlRenderer-&gt;renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber-&gt;onViewRenderArray(Object, &#039;kernel.view&#039;, Object)
call_user_func(Array, Object, &#039;kernel.view&#039;, Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher-&gt;dispatch(&#039;kernel.view&#039;, Object) (Line: 156)
Symfony\Component\HttpKernel\HttpKernel-&gt;handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel-&gt;handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle-&gt;handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache-&gt;pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache-&gt;handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware-&gt;handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware-&gt;handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel-&gt;handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel-&gt;handle(Object) (Line: 19)

Comments

bona2001 created an issue. See original summary.

bona2001’s picture

Issue summary: View changes
avpaderno’s picture

Assigned: bona2001 » Unassigned
bona2001’s picture

anyone, please? I'm not a dev or even a webdesigner so I'm not going to figure it out on my own :(
I googled a similar problem with a different module and they mentioned namespaces but I have no idea what that is or how to fix it. Is that the problem? what should I do?

shelane’s picture

Status: Active » Postponed (maintainer needs more info)

I have not been able to reproduce this error. Can you please provide some steps to reproduce and screen shots if possible?

shelane’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Reopen this issue when you can provide steps to reproduce.