Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: No "exports" main defined in C:\Users\NAIM\Donya\node_modules\firebase\package.json?
Related
I am setting up a homepage with typo3 9.5.5, flux/fluidpages and vhs. Now always when i have some code error (syntax error for example) the Frontent show the Error "Oops, an error occurred! Class '2' not found", even when its obvious that it has nothing to do with a class 2.
I have no Classes-Folder in my custom Extension and no idea where it want a Class 2..
The full Error Code is "Core: Exception handler (WEB): Uncaught TYPO3 Exception: Class '2' not found | Error thrown in file /home/staff/typo3/typo3_src-9.5.5/typo3/sysext/core/Classes/Utility/GeneralUtility.php in line 3667."
The big Problem is, this Error always show up when an error happen, even when the typo3 is almost fresh and it doesnt matter what error it is. Tried to up/downgrade flux and fluidpages.
Can someone help me with this please?
When someone need some code for helping me, just say it.
I am using a Moodle(3.2.2 the newest one) site created by php7.0 and mysql5.7,but when i try to add a new course as administrator, an error called :Exception - Call to undefined function course_overviewfiles_options(). What can i do to fix it?
I did 'Purge all caches' from Development,so the problem above disappeared,but
when users login, another error occurred: Exception - Call to undefined function core_login_get_return_url().
I did 'Purge all caches'again, the problem no.2 disappeared and the no.1 occurred again.
did you include the correct library resource file?
require_once($CFG->libdir. '/coursecatlib.php'); (I think)
HTH
I use the Ext "cal", when I add an Image to an Event, i got this Error:
PHP Catchable Fatal Error: Object of class
TYPO3\CMS\Core\Resource\FileReference could not be converted to string
in typo3/sysext/core/Classes/Resource/ResourceFactory.php line 430 .
When I disable the Image everything is fine. Any Solutions for that?
TYPO3-Version: 6.2.27
Show your code or the error didn't happen. ;-)
Educated guess: you use a file reference in your view helper instead of using treatIdAsReference = "1"
I'm trying to login into my WordPress Admin panel, and am getting the following error:
Call to a member function get_cart_subtotal() on a non-object in /home/spicom/public_html/adwinang.com/wp-content/themes/enfold/config-woocommerce/config.php on line 790
This is my code at line 790:
$cart_subtotal = $woocommerce->cart->get_cart_subtotal();
It sounds like you haven't called global $woocommerce;, before trying to access the $woocommerce object.
A better way would be to use WC():
$cart_subtotal = WC()->cart->get_cart_subtotal();
Alternatively, it's possible the WooCommerce hasn't even been installed and activated...make sure to do that, if it's a theme dependency.
I had a very similar message.
[25-Sep-2018 10:24:08 UTC] PHP Fatal error: Uncaught Error:
Call to a member function get_cart_subtotal() on null in
themes\storefront\inc\woocommerce\storefront-woocommerce-template-functions.php:80
It was due to me having the following in my wp-config.php file.
define( 'DOING_CRON', false );
I'd added this line while attempting to run something from the command line with W3 Total Cache activated. I didn't realise that it would completely ruin WooCommerce and didn't notice the side effect until attempting to view the site in my browser.
I would like to require the webpack.config in karma.conf to reduce duplication. Somehow it is not working and some errors are being thrown.
Module not found: Error: a dependency to an entry point is not allowed
ERROR [karma]: Uncaught ReferenceError: webpackJsonp is not defined
the way webpack.config is required in karma.conf
var webpackConfig = require('./webpack.config');
webpackConfig.devtool = 'inline-source-map';
webpackConfig.plugins.push(new RewirePlugin());
The entry and output property of the webpack.config are not needed in karma.conf, that might be messing with the setup. How can I get rid of it?
I have tried: webpackConfig.entry = {}; which didn't succeed.
The problem could also be something else?
Would be very nice if you could point to an existing example or correct my mistake!