Solarium Exception in core php - php

I use Solarium on php on this website: http://dothejob.in/telamela-new/.
When I choose any sub category this error will be displayed on the page.
Fatal error: Uncaught exception 'Solarium\Exception\HttpException'
with message 'Solr HTTP error: HTTP request failed, couldn't connect
to host'
in
/home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php:248
Stack trace:
#0 /home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(123):
Solarium\Core\Client\Adapter\Curl->check('', Array, Resource id #167)
#1 /home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(99):
Solarium\Core\Client\Adapter\Curl->getResponse(Resource id #167,
false)
#2 /home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php(83):
Solarium\Core\Client\Adapter\Curl->getData(Object(Solarium\Core\Client\Request),
Object(Solarium\Core\Client\Endpoint))
#3 /home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Client.php(814):
Solarium\Core\Client\Adapter\Curl->execute(Object(Solarium\Core\Client\Request),
Object(Solarium\
in
/home/apurav/telamela/pro/vendor/solarium/solarium/library/Solarium/Core/Client/Adapter/Curl.php
on line 248

Related

Outdated wordpress theme not sure which plugin cause error

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

WPForms Lite error: Uncaught RuntimeException: Extraction failed: variable names are clashing with the existing ones

WPForms Lite has caused a fatal error on my WordPress page, and I struggle with figuring out what the problem is and how to fix it.
Error Details:
An error of type E_ERROR was caused in line 106 of the file /home/pagename/public_html/wp-content/plugins/wpforms-lite/src/Helpers/Templates.php. Error message: Uncaught RuntimeException: Extraction failed: variable names are clashing with the existing ones. in /home/pagename/public_html/wp-content/plugins/wpforms-lite/src/Helpers/Templates.php:106
It seems like the function is supposed to include a template, and the error exists to "protect the scope from modification".
Stack trace:
#0 /home/pagename/public_html/wp-content/plugins/wpforms-lite/src/Helpers/Templates.php(127): WPForms\Helpers\Templates::include_html('education/admin...', Array, true)
#1 /home/pagename/public_html/wp-content/plugins/wpforms-lite/includes/functions.php(2402): WPForms\Helpers\Templates::get_html('education/admin...', Array, true)
#2 /home/pagename/public_html/wp-content/plugins/wpforms-lite/src/Lite/Admin/Education/Admin/NoticeBar.php(69): wpforms_render('education/admin...', Array, true)
#3 /home/pagename/public_html/wp-includes/class-wp-hook.php(303): WPForms\Lite\Admin\Education\Admin\NoticeBar->display('')
#4 /home/pagename/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters('', Array)
#5 /home/vpagename/public_html/wp-includes/plugin.php(470): WP_Hook->do_action(Arra

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template

Fatal error: Uncaught exception 'SmartyCompilerException' with message
'Syntax Error in template
"/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/modules/blockbestsellers/blockbestsellers.tpl"
on line 29 "<h4><a
href="{$link->getPageLink('best-sales.php')}">{l
s='Top sellers' mod='blockbestsellers'}</a></h4>" unknown
tag "l"' in
/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php:431
Stack trace: #0
/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php(253):
Smarty_Internal_TemplateCompilerBase->trigger_template_error('unknown
tag "l"', 29) #1
/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/tools/smarty/sysplugins/smarty_internal_templateparser.php(2319):
Smarty_Internal_TemplateCompilerBase->compileTag('l', Array) #2
/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/tools/smarty/sysplugins/smarty_internal_templateparser.php(2812):
Smarty_ in
/data/3/1/80/27/1895679/user/2062193/htdocs/storetest/tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php
on line 431
I'm made 1.4.6.1 module, to receive a credit card pay, but i put some php includes(in "smarty" way) but that error show, im delete my changes, but error don't dissapear and many modules not show. where is my problem, if i deleted my changes! :O

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

How to solve "Uncaught exception 'google\net\ProtocolBufferEncodeError'"

I'm using Google App Engine in combination with PHP.
After a couple request I get the following error
Fatal error: Uncaught exception 'google\net\ProtocolBufferEncodeError' with message 'Internal bug: Encoded size doesn't match predicted' in /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php:68
Stack trace:
#0 /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php(50): google\net\ProtocolMessage->serializePartialToString()
#1 /base/data/home/runtimes/php/sdk/google/appengine/runtime/RealApiProxy.php(52): google\net\ProtocolMessage->serializeToString()
#2 /base/data/home/runtimes/php/sdk/google/appengine/runtime/ApiProxy.php(42): google\appengine\runtime\RealApiProxy->makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse), NULL)
#3 /base/data/home/runtimes/php/sdk/google/appengine/api/taskqueue/PushQueue.php(195): google\appengine\runtime\ApiProxy::makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse in /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php on line 68
Fatal error: Uncaught exception 'google\net\ProtocolBufferEncodeError' with message 'Internal bug: Encoded size doesn't match predicted' in /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php:68
Stack trace:
#0 /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php(50): google\net\ProtocolMessage->serializePartialToString()
#1 /base/data/home/runtimes/php/sdk/google/appengine/runtime/RealApiProxy.php(52): google\net\ProtocolMessage->serializeToString()
#2 /base/data/home/runtimes/php/sdk/google/appengine/runtime/ApiProxy.php(42): google\appengine\runtime\RealApiProxy->makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse), NULL)
#3 /base/data/home/runtimes/php/sdk/google/appengine/api/taskqueue/PushQueue.php(195): google\appengine\runtime\ApiProxy::makeSyncCall('taskqueue', 'BulkAdd', Object(google\appengine\TaskQueueBulkAddRequest), Object(google\appengine\TaskQueueBulkAddResponse in /base/data/home/runtimes/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php on line 68
To solve this I shutdown all the instances and the code just loads normally. And again after a couple of request I get the same fatal error.
What can cause this Fatal error ? And how do I solve it.
The error is raised in the following file
https://chromium.googlesource.com/external/googleappengine/python/+/4523f63814037ed833b8bb55273c09a43dd69fb0/php/sdk/google/appengine/runtime/proto/ProtocolMessage.php

Categories