How to understand error log - plugins

Our information site (WP) has suddenlly stopped working, and the the error log looks as below. However, I have troubles reading this log... What could be problem with our site?
Notice: Undefined offset: 0 in /customers/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins
/google-maps-ready/modules/options/mod.php on line 13 Notice: Undefined index: save_statistic
in /customers/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins/google-maps-ready/modules
/options/mod.php on line 14 Deprecated: Non-static method frameGmp::isAdminPlugPage() should
not be called statically, assuming $this from incompatible context in /customers/c/6/0
/xxxxxx/httpd.www/info/wp-content/plugins/google-maps-ready/modules/templates/mod.php
on line 18 Deprecated: Non-static method frameGmp::isAdminPlugPage() should not be called
statically, assuming $this from incompatible context in /customers/c/6/0/xxxxxx/httpd.www/
info/wp-content/plugins/google-maps-ready/modules/templates/mod.php on line 49 Deprecated:
Non-static method frameGmp::isAdminPlugPage() should not be called statically,
assuming $this from incompatible context in /customers/c/6/0/xxxxxx/httpd.www/info/
wp-content/plugins/google-maps-ready/modules/gmap/mod.php on line 4 Deprecated: Non-static
method frameGmp::isAdminPlugPage() should not be called statically, assuming $this from
incompatible context in /customers/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins/
google-maps-ready/modules/marker_groups/mod.php on line 4 Deprecated: Non-static method
frameGmp::isAdminPlugPage() should not be called statically, assuming $this from incompatible
context in /customers/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins/google-maps-ready
/modules/icons/mod.php on line 6 Notice: Undefined index: sh-adminbar-hide in /customers
/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins/showhide-adminbar/showhide-adminbar.php
on line 23 Warning: session_start(): Cannot send session cache limiter - headers already
sent (output started at /customers/c/6/0/xxxxxx/httpd.www/info/wp-content/plugins/
google-maps-ready/modules/options/mod.php:13) in /customers/c/6/0/xxxxxx/httpd.www/info
/wp-content/plugins/ninja-forms/ninja-forms.php on line 624 Warning: Cannot modify header
information - headers already sent by (output started at /customers/c/6/0/xxxxxx/httpd
.www/info/wp-content/plugins/google-maps-ready/modules/options/mod.php:13) in
/customers/c/6/0/xxxxxx/httpd.www/info/wp-includes/pluggable.php on line 1121

it's problem in configuration in "google maps ready" plugin plz make it disable and check otherwise check it's configuration.

Related

Flash Messages TYPO3 6 to 7 update

I used the following syntax in an TYPO3 6 exbase extension before migrating to 7:
$this->flashMessageContainer->flush();
$this->flashMessageContainer->getAllMessagesAndFlush();
$this->flashMessageContainer->add(Tx_Extbase_Utility_Localization::translate('undefined error', $this->extensionName));
In my new code I would use:
$this->addFlashMessage(\TYPO3\CMS\Extbase\Utility\LocalizationUtility::translate('undefined error', $this->extensionName));
But I always get this error:
Fatal error: Call to a member function getFlashMessageQueue() on a
non-object in /srv/www/typo3_src-7.6.32/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php on line 190
Any ideas about this behaviour?
Thanks and best regards,
Chris
(Disclaimer: TYPO3 v7.6 reached end-of-life and is not maintained anymore)
In order to understand what's going on, let's have a look into the source code (referring to the error message you posted, checking AbstractController.php)
$this->controllerContext->getFlashMessageQueue()->enqueue($flashMessage);
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php#L190
$this->controllerContext = $this->buildControllerContext();
https://github.com/TYPO3/TYPO3.CMS/blob/TYPO3_7-6/typo3/sysext/extbase/Classes/Mvc/Controller/AbstractController.php#L238
Thus, my assumption(!) is, that you override public function processRequest(...) in your application specific controller without invoking parent::processRequest(...) leading to the situation that $this->controllerContext is not initialized.

SAPUI5 Annotation structure cannot read property 'IndexOf' undefined

I've created a local annotation file based on an OData service.
And even without adding any annotations to the new annotation file, when I open Annotation modeler it says
Annotation structure cannot read property 'IndexOf' undefined
And I have not defined any annotations from the service level.
And Even I add some annotaions using the Code view they also not display when I run the application
When I check the console it displays following error
2018-08-09 12:18:45.755000 TypeError: Cannot read property 'indexOf' of undefined
at Object.getAbsolutePath (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/plugins/pluginrepository/annotationmodeler/client/v1.33.1_1526463231420/config-preload.js:1:136)
at Object.<anonymous> (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/plugins/pluginrepository/annotationmodeler/client/v1.33.1_1526463231420/config-preload.js:9:17064)
at r (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:43:4628)
at r._settlePromiseFromHandler (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:42:23011)
at r._settlePromise (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:42:23814)
at r._settlePromise0 (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:42:24515)
at r._settlePromises (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:42:25845)
at r._drainQueue (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:41:12469)
at r._drainQueues (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:41:12530)
at drainQueues (https://webide-hf01c42be.dispatcher.us3.hana.ondemand.com/resources/~3502d451b8b72165ef3cf2fa0789ca9b3430f76e~/sap/watt/core/Core-preload.js:41:10559) -

Call to a member function get_cart_subtotal() on a non-object in config-woocommerce/config.php on line 790

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.

How to customize the login page of vBulletin 4

I am using vBulletin version 4.1.4. I want to re-design the login page (it is separated with current vBulletin skin), I have tried using these instructions http://www.vbgeeko.com/archives/217 but it shows an error:
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: navbar in [path]\includes\functions.php on line 4114
( ! ) Parse error: syntax error, unexpected T_STRING in D:\wamp\www\vBulletin Forum v4.1.4\upload\clogin.php(42) : eval()'d code on line 1
Call Stack
# Time Memory Function Location
1 0.0007 374496 {main}( ) ..\clogin.php:0
Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: clogin in [path]\includes\functions.php on line 4114
So how can I make a custom login page of vBulletin 4?

Trouble with upload component - Cakephp 2.0

I was trying to incorporate file upload to my project but whenever I access the a function in the controller it gives me these warnings:
Warning (2): call_user_func_array(): First argument is expected to be a valid callback, 'UploadComponent::initialize' was given [CORE/Cake/Utility/ObjectCollection.php, line 110]
Warning (2): call_user_func_array() [http://php.net/function.call-user-func-array]: First argument is expected to be a valid callback, 'UploadComponent::beforeRender' was given [CORE/Cake/Utility/ObjectCollection.php, line 110]
Warning (2): call_user_func_array() [http://php.net/function.call-user-func-array]: First argument is expected to be a valid callback, 'UploadComponent::shutdown' was given [CORE/Cake/Utility/ObjectCollection.php, line 110]
The upload component that I added works fine for my cake 1.3 version.
please help
Solved it, by modifying the Component.
In cake php 2.0 all components must extend Component; failing to do this will trigger an exception.
For example:
class UploadComponent extends Component {
}