Outdated wordpress theme not sure which plugin cause error - php

Getting fatal error on very outdated site not sure which plugin cuase this any ideas where to start?
Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-content/themes/orgafit/functions.php:614 Stack trace: #0 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/class-wp-hook.php(294): Orgafit_Funcs->cws_check_for_update(Object(stdClass)) #1 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/plugin.php(212): WP_Hook->apply_filters(Object(stdClass), Array) #2 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/option.php(1931): apply_filters('pre_set_site_tr...', Object(stdClass), 'update_themes') #3 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/update.php(635): set_site_transient('update_themes', Object(stdClass)) #4 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/update.php(841): wp_update_themes() #5 /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-includes/class- in /data/1/2/12296225-4ed8-45bd-aa9c-0af189177859/web/wp-content/themes/orgafit/functions.php on line 614

Related

Gdex woocommerce installation issue?

I have newly installed GDEX woommerce plugin on wordpress I have this issue
Fatal error: Uncaught InvalidArgumentException: Token is required. in F:\xampp\htdocs\wordpress\bug\wp-content\plugins\mygdex-for-woocommerce\includes\class-gdex-api.php:32 Stack trace: #0 F:\xampp\htdocs\wordpress\bug\wp-content\plugins\mygdex-for-woocommerce\includes\helpers.php(324): Gdex_Api->__construct('') #1 F:\xampp\htdocs\wordpress\bug\wp-content\plugins\mygdex-for-woocommerce\admin\class-gdex-consignment.php(348): gdex_api_get_last_shipment_status(Array) #2 F:\xampp\htdocs\wordpress\bug\wp-includes\class-wp-hook.php(289): Gdex_Consignment->fetch_consignments_statuses(Array) #3 F:\xampp\htdocs\wordpress\bug\wp-includes\plugin.php(249): WP_Hook->apply_filters(Array, Array) #4 F:\xampp\htdocs\wordpress\bug\wp-includes\class-wp-query.php(3190): apply_filters_ref_array('the_posts', Array) #5 F:\xampp\htdocs\wordpress\bug\wp-includes\class-wp-query.php(3448): WP_Query->get_posts() #6 F:\xampp\htdocs\wordpress\bug\wp-includes\class-wp.php(624): WP_Query->query(Array) #7 F:\xampp\htdocs\wordpress\bug\wp-includes\class-w in F:\xampp\htdocs\wordpress\bug\wp-content\plugins\mygdex-for-woocommerce\includes\class-gdex-api.php on line 32
You need to insert user access from https://my.gdexpress.com/dashboard/updateprofile

Email wordpress E_Errors

I am using wordpress and my wordpress is unable to send email I am getting some errors. Below is the errors could anyone help me in this.
Error Details
An error of type E_ERROR was caused in line 237 of the file /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/zoho-mail/zohoMail.php. Error message: Uncaught Error: Cannot use object of type stdClass as array in /opt/bitnami/apps/wordpress/htdocs/wp-content/plugins/zoho-mail/zohoMail.php:237
Stack trace:
#0 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(287): zmail_integ_settings_callback('')
#1 /opt/bitnami/apps/wordpress/htdocs/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters('', Array)
#2 /opt/bitnami/apps/wordpress/htdocs/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#3 /opt/bitnami/apps/wordpress/htdocs/wp-admin/admin.php(254): do_action('toplevel_page_z...')
#4 {main}
thrown
you send object instead of an array to the zoho plugin

Fatal error: Uncaught Error: Call to undefined method stdClass::option();

**Fatal error: Uncaught Error: Call to undefined method stdClass::option() in
C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\helpers\taxonomies.php:19
Stack trace: #0
C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\loader.php(55):
Bunch_Taxonomies->__construct() #1
C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\loader.php(77):
_load_plugins_class('taxonomies', 'helpers', false) #2 C:\xampp\htdocs\newtest\wordpress\wp-includes\class-wp-hook.php(286):
_bunch_plugin_init('') #3 C:\xampp\htdocs\newtest\wordpress\wp-includes\class-wp-hook.php(310):
WP_Hook->apply_filters(NULL, Array) #4
C:\xampp\htdocs\newtest\wordpress\wp-includes\plugin.php(465):
WP_Hook->do_action(Array) #5
C:\xampp\htdocs\newtest\wordpress\wp-settings.php(505):
do_action('init') #6
C:\xampp\htdocs\newtest\wordpress\wp-config.php(90):
require_once('C:\\xampp\\htdocs...') #7
C:\xampp\htdocs\newtest\wordpress\wp-load.php(37):
require_once('C:\\xampp\\htdocs.. in
C:\xampp\htdocs\newtest\wordpress\wp-content\plugins\theme_support_meson\includes\helpers\taxonomies.php
on line 19**
This Error occurs when I am including new theme in my WordPress account. That time I am using meson theme and try to include new theme and suddenly this error occurs. so guide me on what to do for solving this.
Deactivate all plugins associated with the last theme, I can see that the error caused by theme_support_meson plugin so make sure to deactivate it then delete it.

'username_exists' function not working in Wordpress plugin

I wanna use "username_exists" in my own plugin but when I use this function I got this error :
Fatal error: Uncaught Error: Call to undefined function get_user_by()
in E:\xampp\htdocs\wordpress\wp-includes\user.php:1271 Stack trace: #0
E:\xampp\htdocs\wordpress\wp-content\plugins\register-plus\index.php(86):
username_exists('admin') #1
E:\xampp\htdocs\wordpress\wp-settings.php(255):
include_once('E:\xampp\htdocs...') #2
E:\xampp\htdocs\wordpress\wp-config.php(89):
require_once('E:\xampp\htdocs...') #3
E:\xampp\htdocs\wordpress\wp-load.php(37):
require_once('E:\xampp\htdocs...') #4
E:\xampp\htdocs\wordpress\wp-blog-header.php(13):
require_once('E:\xampp\htdocs...') #5
E:\xampp\htdocs\wordpress\index.php(17):
require('E:\xampp\htdocs...') #6 {main} thrown in
E:\xampp\htdocs\wordpress\wp-includes\user.php on line 1271
How can i fix it ?
I include 'pluggable.php' in my plugin and problem fixed
include_once(ABSPATH . 'wp-includes/pluggable.php');

Wordpress plugin fatal error

I downloaded this taxi booking plugin from Github but when I try to activate it on wordpress I get a fatal error and it doesn't let me activate it. You can find the plugin on https://github.com/mbejda/TaxiCabBookingSystem
Fatal error: Uncaught exception 'Braintree_Exception_Configuration' with message 'merchantIdneeds to be set' in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php:117 Stack trace: #0 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(139): Braintree_Configuration::get('merchantId') #1 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(157): Braintree_Configuration::setOrGet('merchantId', NULL) #2 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/modules/BookingSystemBrainTreeModule.php(32): Braintree_Configuration::merchantId(NULL) #3 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/main.php(177): BookingSystemBrainTreeModule->__construct(Object(BookingSystem)) #4 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-maste in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php on line 117
Any help to get this resolved would be appreciated.
UPDATE at Sunday 8th Feb # 8:18pm.
I have added the Merchant ID on Configuration.php its giving me the same error I think, if not the same then very simular
Fatal error: Uncaught exception 'Braintree_Exception_Configuration' with message 'publicKeyneeds to be set' in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php:117 Stack trace: #0 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(139): Braintree_Configuration::get('publicKey') #1 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php(162): Braintree_Configuration::setOrGet('publicKey', NULL) #2 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/modules/BookingSystemBrainTreeModule.php(33): Braintree_Configuration::publicKey(NULL) #3 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/main.php(177): BookingSystemBrainTreeModule->__construct(Object(BookingSystem)) #4 /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/ma in /Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php on line 117
Regards
Did you read the error message output... it says
Message 'merchantId needs to be set' in
/Applications/MAMP/htdocs/DocklandsTaxi/wp-content/plugins/TaxiCabBookingSystem-master/lib/Braintree/Configuration.php
[Update]
Also check out https://www.braintreepayments.com/docs/php

Categories