Hallo,
ich habe einen Shop mit der Version 5.7.15.
Wenn ich Inhalte - Import/Export öffne, erscheint sofort die unten angehängte Fehlermeldung, sie sieht so aus:
Ich habe das Plugin mehrfach deinstalliert, gelöscht, neu installiert, Caches geleert.
Nichts hilft.
Hat einer eine Idee wie ich es wieder an Laufen bekomme?
Hier die ganze Fehlermeldung:
Ext.define(‚Shopware.apps.Index‘, {
extend: ‚Enlight.app.SubApplication‘,
bulkLoad: true,
loadPath: ‚/backend/Index/load‘,
controllers: [
‚Main‘,
‚Widgets‘,
‚ErrorReporter‘,
‚ThemeCacheWarmUp‘
],
requires: [
‚Shopware.container.Viewport‘
],
views: [
‚Main‘,
‚Menu‘,
‚Footer‘,
‚Search‘,
‚widgets.Window‘,
‚widgets.Sales‘,
‚widgets.Upload‘,
‚widgets.Visitors‘,
‚widgets.Orders‘,
‚widgets.Notice‘,
‚widgets.Merchant‘,
‚widgets.Rating‘,
‚widgets.News‘,
‚widgets.Base‘,
‚merchant.Window‘,
‚themeCache.ThemeCacheWarmUp‘,
‚widgets.bi.Base‘
],
models: [
‚Widget‘,
‚WidgetSettings‘,
‚Turnover‘,
‚Batch‘,
‚Customers‘,
‚Visitors‘,
‚Orders‘,
‚News‘,
‚Merchant‘,
‚MerchantMail‘,
‚ThemeCacheWarmUp‘,
‚Rating‘
],
stores: [
‚Widget‘,
‚WidgetSettings‘,
‚ThemeCacheWarmUp‘
]
});
Ext.define(‚Shopware.apps.PaypalUnified.mixin.OnboardingHelper‘, {
onboardingHelper: {
snippets: {
locale: ‚de_DE‘,
onboardingButton: {
label: ‚Melde Dein PayPal-Konto hier für den PayPal Rechnungskauf an‘,
text: ‚Autorisieren‘
}
},
payPalScriptUrl: ‚https://www.paypal.com/webapps/merchantboarding/js/lib/lightbox/partner.js‘,
payPalScriptContainerId: ‚swag-payment-paypal-unified-paypal-partner-js‘,
payPalScriptOnboardingCallback: ‚paypalOnboardingCallback‘,
payPalOnboardingUrl: {
live: ‚https://www.paypal.com/bizsignup/partner/entry‘,
sandbox: ‚https://www.sandbox.paypal.com/bizsignup/partner/entry‘
},
partner: {
clientId: {
live: ‚AR1aQ13lHxH1c6b3CDd8wSY6SWad2Lt5fv5WkNIZg-qChBoGNfHr2kT180otUmvE_xXtwkgahXUBBurW‘,
sandbox: ‚AQ9g8qMYHpE8s028VCq_GO3Roy9pjeqGDjKTkR_sxzX0FtncBb3QUWbFtoQMtdpe2lG9NpnDT419dK8s‘
},
payerId: {
live: ‚DYKPBPEAW5JNA‘,
sandbox: ‚45KXQA7PULGAG‘,
}
},
params: {
sellerNonce: {
live: ‚SsmFohKrAfXHrsScaRPR3XezvmPAZuDVRpBL0Nerp7o‘,
sandbox: ‚id1Db7HVQRxGnm1JX_yr-5QqrJhFC_7_Ta84T19opyg‘,
},
general: {
partnerLogoUrl: ‚https://assets.shopware.com/media/logos/shopware_logo_blue.svg‘,
integrationType: ‚FO‘,
features: ‚PAYMENT,REFUND,READ_SELLER_DISPUTE,UPDATE_SELLER_DISPUTE,ADVANCED_TRANSACTIONS_SEARCH,ACCESS_MERCHANT_INFORMATION,TRACKING_SHIPMENT_READWRITE‘,
displayMode: ‚minibrowser‘
},
ppcp: {
product: ‚PPCP‘
},
pui: {
product: ‚payment_methods‘,
capabilities: ‚PAY_UPON_INVOICE‘
},
combined: {
product: ‚ppcp‘,
secondaryProducts: ‚payment_methods‘,
capabilities: ‚PAY_UPON_INVOICE‘
}
},
renderMethodReplacedIndicator: ‚SwagPaymentPayPalUnifiedRenderMethodReplaced‘
},
config: {
sandbox: false,
eventTarget: null,
authCodeReceivedEventName: null,
updateCredentialsUrl: ‚/backend/PayPalUnifiedSettings/updateCredentials‘
},
constructor: function(config) {
this.initConfig(config);
},
createOnboardingButtonStandalone: function(value) {
var me = this;
this.submitValue = value;
this.onboardingOriginButton = Ext.create(‚Ext.button.Button‘, {
text: this.onboardingHelper.snippets.onboardingButton.text,
cls: ‚primary‘,
ui: ‚shopware-ui‘,
name: ‚startOnboarding‘,
disabled: false,
href: me.getOnboardingUrl(),
listeners: {
afterrender: function(component) {
component.btnEl.dom.dataset.paypalOnboardComplete = me.onboardingHelper.payPalScriptOnboardingCallback;
component.btnEl.dom.dataset.paypalButton = true;
me.renderOnboardingButton();
}
},
style: {
paddingTop: ‚6px‘,
paddingBottom: ‚6px‘,
height: ‚28px‘,
}
});
return this.onboardingOriginButton;
},
createOnboardingButtonFormElement: function(value) {
this.onbordingOriginButtonContainer = Ext.create(‚Ext.form.FieldContainer‘, {
fieldLabel: this.onboardingHelper.snippets.onboardingButton.label,
labelWidth: 250,
items: [
this.createOnboardingButtonStandalone(value)
]
});
return this.onbordingOriginButtonContainer;
},
getOnboardingParams: function() {
return Object.assign(
this._getOnboardingParamsGeneral(),
this.onboardingHelper.params.combined
);
},
getOnboardingParamsGeneral: function() {
var localisation = null;
if (this.onboardingHelper.snippets.locale) {
localisation = {
‚country.x‘: this.onboardingHelper.snippets.locale.slice(-2).toUpperCase(),
‚locale.x‘: this.onboardingHelper.snippets.locale.replace('', ‚-‘)
}
}
return Object.assign(
{
partnerClientId: this.getSandbox() ? this.onboardingHelper.partner.clientId.sandbox : this.onboardingHelper.partner.clientId.live,
partnerId: this.getSandbox() ? this.onboardingHelper.partner.payerId.sandbox : this.onboardingHelper.partner.payerId.live,
sellerNonce: this.getSandbox() ? this.onboardingHelper.params.sellerNonce.sandbox : this.onboardingHelper.params.sellerNonce.live,
},
this.onboardingHelper.params.general,
localisation
);
},
getOnboardingUrl: function() {
return Ext.String.format(
‚{0}?{1}‘,
this.getSandbox() ? this.onboardingHelper.payPalOnboardingUrl.sandbox : this.onboardingHelper.payPalOnboardingUrl.live,
Ext.Object.toQueryString(this.getOnboardingParams())
);
},
refreshOnboardingButton: function(value) {
if (!this.onbordingOriginButtonContainer) {
return;
}
this.onbordingOriginButtonContainer.remove(this.onboardingOriginButton);
this.onboardingOriginButton.destroy();
this.onboardingOriginButton = this.createOnboardingButtonStandalone(value);
this.onbordingOriginButtonContainer.add(this.onboardingOriginButton);
},
renderOnboardingButton: function() {
if (!window[this.onboardingHelper.payPalScriptOnboardingCallback]) {
window[this.onboardingHelper.payPalScriptOnboardingCallback] = this._onAuthCodeReceived.bind(this);
}
if (!document.getElementById(this.onboardingHelper.payPalScriptContainerId)) {
document.head.appendChild(this._createScript());
}
if (window.PAYPAL) {
this._renderPayPalButton();
}
},
_createScript: function() {
var payPalScript = document.createElement(‚script‘);
payPalScript.id = this.onboardingHelper.payPalScriptContainerId;
payPalScript.type = ‚text/javascript‘;
payPalScript.src = this.onboardingHelper.payPalScriptUrl;
payPalScript.async = true;
payPalScript.addEventListener(‚load‘, this._renderPayPalButton.bind(this), false);
return payPalScript;
},
_renderPayPalButton: function() {
if (!window[this.onboardingHelper.renderMethodReplacedIndicator]) {
window.PAYPAL.apps.Signup.render = function proxyPPrender() {
if (window.PAYPAL.apps.Signup.timeout) {
clearTimeout(window.PAYPAL.apps.Signup.timeout);
}
window.PAYPAL.apps.Signup.timeout = setTimeout(window.PAYPAL.apps.Signup.render, 300);
};
window[this.onboardingHelper.renderMethodReplacedIndicator] = true;
}
window.PAYPAL.apps.Signup.render();
},
_onAuthCodeReceived: function(authCode, sharedId) {
if (this.getEventTarget() !== null) {
this.getEventTarget().fireEvent(
this.getAuthCodeReceivedEventName(),
authCode,
sharedId,
this.getSandbox() ? this.onboardingHelper.params.sellerNonce.sandbox : this.onboardingHelper.params.sellerNonce.live,
this.getSandbox() ? this.onboardingHelper.partner.payerId.sandbox : this.onboardingHelper.partner.payerId.live,
this.submitValue
);
} else {
this.fireEvent(
this.getAuthCodeReceivedEventName(),
authCode,
sharedId,
this.getSandbox() ? this.onboardingHelper.params.sellerNonce.sandbox : this.onboardingHelper.params.sellerNonce.live,
this.getSandbox() ? this.onboardingHelper.partner.payerId.sandbox : this.onboardingHelper.partner.payerId.live,
this.submitValue
);
}
}
});