Shopware Stopwatch error when trying to deactivate plugin - symfony

I installed FroshDevelopmentHelper Plugin and when I tried to deactivate it I got that error:
[Symfony\Component\ErrorHandler\Error\FatalError]
Compile Error: Cannot declare class Symfony\Component\Stopwatch\Stopwatch, because the name is already in use

Looks like there's an issue with the dependencies. You should head over to the repository on GitHub and open an issue ticket there. There's likely not a lot you can do to solve that on your own.

Related

Concrete5 Failed opening required

Currently setting up an existing concrete5 website. After running MAMP and running composer install I get the following error:
Symfony\Component\ClassLoader\MapClassLoader::loadClass(): Failed opening required '/Users/xxx/xxx/xxx/packages/components/controller.php' (include_path='/Users/xxx/xxx/xxx/concrete/vendor:.:/Applications/MAMP/bin/php/php7.1.19/lib/php')
It seems like the folder components which it is looking in for the controller.php inside packages does not exist. How can I fix this?
Downloaded the folder from the hosting and set it locally on the required place fixed the issue.

Composer error "TypeError: Object.getOwnPropertyNames called on non-object"

When trying to get started with Cloudify, importing the "Cloudify Hello World Example", I get an error:
TypeError: Object.getOwnPropertyNames called on non-object
I get the same error for any blueprint I try to import. I've searched, but found no help on this error.
The example is being imported from a local clone of cloudify-hello-world-example.git on GitHub. I'm using the Composer UI "Blueprint Settings" tool "Import" option, and selecting the local file "blueprint.yaml" from the cloned repo.
I'm running this on CentOS 7, and installed the Composer as described at thank_you_composer.htm on getcloudify.org. Logging into the Composer at localhost port 3000, using Chrome or Firefox, same result.
What is the reason for this TypeError when importing Cloudify blueprints, and how do I correct/avoid it?
The composer philosophy is to model and design applications.
You can use it to create new blueprints and add new stencils.
For the moment (version 3.3.1) there is a problem importing blueprints that are using external imports (https://cloudifysource.atlassian.net/browse/CFY-4325), you can bypass it by importing the blueprint without those plugins and then add lifecycle operations that will add the functions of those plugins.

Javascript and CSS: resource not found or not accessible

I'm developing a couple of packages for plone 4.2. For some reason, when I install mypackage.blah through mypackage.policy, it loses access to its resourceDirectories, and its CSS and javascript are unavailable.
If I install mypackage.blah alone, it works fine. But I'm trying to install it using mypackage.policy, so I declared mypackage.blah as a dependency in setup.py and metadata.xml. When I install mypackage.policy, it install mypackage.blah, and its JS and CSS resources are registered, but portal_javascript they marked the files as "resource not found or innaccesible". It's as if it ignored the resourceDirectory directives.
What could be happening for resourceDirectory to be ignored?
Originally mypackage.policy used z3c.autoinclude, but I tried including mypackage.blah configuration directly in mypakcage.policy and even in buildout.cfg, and the problem persisted. There are no error traces in the log or console.
Any idea on how can I solve this problem?
Thanks in advance.
Did you upgrade collective.js.jqueryui? I did that and it REMOVED all other javascript!
I went into the ZMI->portal_CSS-> bundles (tab) and changed from 'jQueryUI' to 'default' in the 3 boxes. if it already is default, go to ZMI->portal_javacripts-> bundles (tab) and change 'jQueryUI' to 'default' in the 3 boxes.

PHP Xdebug, Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found in /

i am noob and i am trying to run xdebug under phpstorm, everytime i get this error:
PHP Fatal error: Class 'Symfony\Bundle\FrameworkBundle\Controller\Controller' not found in /home/.../..../src/Acme/DemoBundle/Controller/DemoController.php on line 15.
In the beginnig i was thinking that is related windows 7+ uniformserver, because i was using this combination. Later i have installed ubuntu linux, lamp, latest xdebug and phpstorm. After this i have tried debugging default symfony project Acme (so i did not change any files), but nothing changed.
Have you ever encountered problem like this? If yes, can you please tell me how can i solve this?
Thank you.
Have you tried File | Invalidate caches and restart and then start the new Composer project?
I have used two javascript methods

Adding an bundle in Appkernel on symfony2

I have a requirement for which i need to install Zetawebmailbundle in the vendor page, I tried to make an entry in the AppKernel file, but its showing error as class not found.
new SimpleThings\ZetaWebmailBundle\SimpleThingsZetaWebmailBundle()
FatalErrorException: Error: Class 'SimpleThings\ZetaWebmailBundle\SimpleThingsZetaWebmailBundle' not found in /home/check/Projects/Webparse/app/AppKernel.php line 30
The bundle that you are trying to use doesnt seem to have a composer friendly repo. This means that you have 2 options.
1) You can follow their install instructions here: https://github.com/simplethings/ZetaWebmailBundle
or 2) You can fork their repository and create your own composer.json
with option 2 you will need to download the ez Components which you can find here: http://ezcomponents.org/ and add that to your forked repository and your composer.json. This option will probably take a lot more time and maybe even some trial and error. I recommend that you just follow the install instructions in option 1.
Edit: Scrapped my original answer for this one.

Resources