The "php" plugin does not exist drupal 8 - plugins

I have strange issue in Drupal 8 that says:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "php"
plugin does not exist. in
Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 57 of
core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php).
Anyone know how to fix this?

Related

parcel bundler - Unknown plugin "add-module-exports"

I'm trying to use 'react-responsive' but I am getting the error message - Unknown plugin "add-module-exports
It looks like this relates to the fact that node_modules needs to be excluded but due to a bug in babel v6 (fixed in v7) adding "ignore": "node_modules" to the .babelrc file doesn't work.
https://github.com/contra/react-responsive/issues/131
It seems like parcel-bundler uses babel v6 so my question is , how can I ignore node_modules and get parcel to bundle without throwing an error?
I was facing a similar issue recently with parcel, installing babel-plugin-add-module-exports seemed to fix the issue

error when uploading a package in maple

I want to upload a package called "APECS" on maple , but when i do it, it sends me an error:" Error, (in with) package numtheory does not export isolve" and "Error, unable to read biraF or legen or f or cat " but when i upolad them , the problem is still there. how can i fix this problem. plus, i should say this package is written in maple 6 and 5 ( respectively APECS 6 and APECS 5) but i have maple 2015 on win 8.1 on laptop, so please tell me can i fix this problem on maple 2015 , or give me an alternative way like how to change setting to maple 5 or 6, or finally how to get maple 5,6 if it is necessary
the official website for this package is :
http://www.math.mcgill.ca/connell/public/apecs/
i downloaded APECS.tar.z then extract it and then uploded. what's wrong?
thanks

cannot get streams work on eclipse

I recently installed JDK 8 on my Eclipse (MAC) and I m trying to use the streams.
However, it seems that Java 8 is not correctly configured since I get the following error on the following line of code:
List<Eshop> tempShops = eshops.stream().filter( e -> e.getName().equals(name)).collect(Collectors.toList());
Multiple markers at this line
- e cannot be resolved to a variable
- e cannot be resolved
- Syntax error on token "-", --
expected
Anybody has an idea what might be wrong?
EDIT
Also tried like
List<Eshop> tempShops = eshops.stream().filter( (e) -> e.getName().equals(name)).collect(Collectors.toList());
Eclipse Kepler did not contain Java 8 support (unless you installed a patch).
You should use the current Eclipse Neon (4.6.1) for full Java 8 support.
I had the same problem. I created a predicate separately and the java.util.function.Predicate package got auto imported and the error was resolved.
You could try something like this:
Predicate shop = e -> {return e.getName().equals(name);};
List tempShops = eshops.stream().filter(shop).collect(Collectors.toList());

i am getting fatal error random_bytes() in laravel 5

I am getting fatal error random_bytes() in laravel 5 after installing the
"paypal/adaptivepayments-sdk-php":"v3.6.106" in composer.json
"require": {
"laravel/framework": "5.0.*",
"jacopo/laravel-authentication-acl": "1.3.*",
"webpatser/laravel-countries": "dev-master",
"yajra/laravel-datatables-oracle": "~5.0",
"illuminate/html": "5.0.*#dev",
"paypal/adaptivepayments-sdk-php":"v3.6.106"
},
using composer. please share me any solution . i am stuck for last 3 hrs to solve this error.
i tried to comment the nextBytes() in secureRandom.php file but i think it is not a good idea.
random_bytes is a PHP function in PHP v7.0. You can install the missing package on PHP v5.x using composer.
Run composer require paragonie/random_compat and then try adding the affected library.
Source: https://github.com/paragonie/random_compat

Showing Crystal report error

This following error is raise when run the program
Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\Windows\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll'
What is problem please help some one.
The problem is two type of version are avaliable like version:13.0.2000.0 and version :10.5.3700.0
So Remove any one reference from your project version 10 or 13 and also in aspx pages.