WordPress failure - php

I want to say that I am not an expert, it´s my first Wordpress project and I want to dig in. Therefore I tried to word only with Plugins and few coding.
I don´t know but since today my site has a failure and I don´t understand:
Fatal error: Uncaught ArgumentCountError: Too few arguments to function
Cherry_Dynamic_Css_Utilities::typography_font_family(), 0 passed in /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php on line 487 and exactly 1 expected in /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php:688
Stack trace:
#0 /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php(487): Cherry_Dynamic_Css_Utilities->typography_font_family()
#1 [internal function]: Cherry_Dynamic_Css->replace_func(Array)
#2 /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modules/cherry-dynamic-css/cherry-dynamic-css.php(327): preg_replace_callback('/#(([a-zA-Z_]+)...', Array, '/* #Typography ...')
#3 /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modu in /home/.sites/48/site8294423/web/wp-content/plugins/jet-elements/cherry-framework/modules/cherry-dynamic-css/inc/class-cherry-dynamic-css-utilities.php on line 688
Tried to restore backup (database and rest) but the same after backup
Can you please help a little bit....
Thank you very much

Either via FTP, your server's file manager, or terminal, you should change the directory name of the plugin in /wp-content/plugins/jet-elements to something like /wp-content/plugins/jet-elements-DISABLED
Once done, attempt to navigate to your wordpress admin dashboard. You'll be given the option of deleting the now missing plugin "Jet Elements" (or whatever it's front name is). Delete it from there. Later, reinstall the plugin, do not activate, and delete it. This will force the plugin's native data deletion function to fire, killing all data in your database from the original install.
Best of luck!

problem with jet-elements plugin just go to wp-content/plugin and move or delete jet-elements folder

Related

Cannot acces wp-admin, one error left, how to solve this?

I probably messed my wordpress site up by updating the site before updating plug ins, and now I cannot acces wp-admin anymore.
I got a number of error messages, most of which I could solve by changing something in the given file, but I do not know how to solve this:
Fatal error: Uncaught Error: Class "WP_Widget" not found in …/wp-content/plugins/category-posts/class-widget.php:22 Stack trace: #0 .../wp-content/plugins/category-posts/cat-posts.php(38): require_once() #1 .../wp-settings.php(359): include_once('...') #2 .../wp-config.php(90): require_once('...') #3 .../wp-load.php(37): require_once('...') #4 .../wp-admin/admin.php(34): require_once('...') #5 .../wp-admin/index.php(10): require_once('...') #6 {main} thrown in .../wp-content/plugins/category-posts/class-widget.php on line 22
Any suggestions are greatly appreciated.
It seems like an issue with one of your plugins, category-posts.
I would suggest, if you got access to the site's backend, navigate to .../wp-content/plugins/ and delete the category-posts folder. This will delete the plugin which causes the issue, and hopefully resolve the problem. You can always download the plugin folder before deleting it, just so you've got it backed up.
Can you rename category-posts plugin to any other name so that the plugin will automatically deactivate. After that can you take a look to login to wp-admin. then from there try reinstalling the same plugin or upload latest version of plugin.

Fatal error: Uncaught DocuSign\eSign\Client\ApiException: Error while requesting server, received a non successful HTTP code [302]

I created a demo app using the DocuSign Quickstart tool, but I get this error the moment my app attempts to use the "createEnvelope" function:
$results = $envelopeApi->createEnvelope($GLOBALS['DS_CONFIG']['ds_client_id'], $envelope_definition);
I'm sure it has to do with the Integration Key, but I don't know docusugn well enough to resolve the issue.
Any direction would be much appreciated.
Here's the full error:
Fatal error: Uncaught DocuSign\eSign\Client\ApiException: Error while requesting server, received a non successful HTTP code [302] with response Body: in C:\xampp\htdocs\embedded\vendor\docusign\esign-client\src\Client\ApiClient.php:344 Stack trace:
#0 C:\xampp\htdocs\embedded\vendor\docusign\esign-client\src\Api\EnvelopesApi.php(4117): DocuSign\eSign\Client\ApiClient->callApi('/v2.1/accounts/...', 'POST', Array, '{"documents":[{...', Array, '\\DocuSign\\eSign...', '/v2.1/accounts/...')
#1 C:\xampp\htdocs\embedded\vendor\docusign\esign-client\src\Api\EnvelopesApi.php(4023): DocuSign\eSign\Api\EnvelopesApi->createEnvelopeWithHttpInfo('xxxxxxxx-xxxx-x...', Object(DocuSign\eSign\Model\EnvelopeDefinition), NULL)
#2 C:\xampp\htdocs\embedded\public\index.php(117): DocuSign\eSign\Api\EnvelopesApi->createEnvelope('xxxxxxxx-xxxx-x...', Object(DocuSign\eSign\Model\EnvelopeDefinition))
#3 C:\xampp\htdocs\embedded\public\index.php(169): Example\make_envelope(Array) #4 {main} thrown in C:\xampp\htdocs\embedded\vendor\docusign\esign-client\src\Client\ApiClient.php on line 344
From the error trace, specifically the path "C:\xampp\htdocs\embedded\vendor\docusign\esign-client\src\Client\ApiClient.php", it looks like you deleted the outer folder.
I'm curious to know what you put in your C:\xampp\apache\conf\httpd.conf file. This setting in the httpd.conf file needs to match if you've deleted that folder:
DocumentRoot "C:/xampp/htdocs/Tally_Customer_Portal-php"
I would go through the quickstart guide on DocuSign. That way it will build out the code you need to get started. I would also make sure your token information is correct as well.
I lifted this code from a few different sources, and unfortunately it came with a few different problems. The one in this particular case was from the 'ds_client_id' value, which the QuickStart guide automatically assigns with your Integration Key. When running the createEnvelope function, you need your Account ID, not the Integration Key.

Wordpress wp-admin fatal error

I have just switched my website's hosting and it is giving me error in opening the wordpress admin panel page. Can any body help me out. Thankyou
Fatal error: Uncaught Error: Call to undefined function eregi() in
/home/atifchat/public_html/pakistanivoicechat.com/wp-content/plugins/google-bot-bling/google-bot-bling.php:59
Stack trace: #0
/home/atifchat/public_html/pakistanivoicechat.com/wp-includes/class-wp-hook.php(298):
thisismyurl_google_bot_bling_init_code('') #1
/home/atifchat/public_html/pakistanivoicechat.com/wp-includes/class-wp-hook.php(323):
WP_Hook->apply_filters(NULL, Array) #2
/home/atifchat/public_html/pakistanivoicechat.com/wp-includes/plugin.php(453):
WP_Hook->do_action(Array) #3
/home/atifchat/public_html/pakistanivoicechat.com/wp-settings.php(448):
do_action('init') #4
/home/atifchat/public_html/pakistanivoicechat.com/wp-config.php(104):
require_once('/home/atifchat/...') #5
/home/atifchat/public_html/pakistanivoicechat.com/wp-load.php(37):
require_once('/home/atifchat/...') #6
/home/atifchat/public_html/pakistanivoicechat.com/wp-admin/admin.php(31):
require_once('/home/atifchat/...') #7
/home/atifchat/public_html/pakistanivoicechat.com/wp-admin/in in
/home/atifchat/public_html/pakistanivoicechat.com/wp-content/plugins/google-bot-bling/google-bot-bling.php
on line 59
What hosting did you switch from as well as what hosting did you switch it to? A lot of hosts for WordPress will give you support for this kind of thing especially if you just switched to their services so I would probably call support and give them the URL so that they can see the error and it is likely that they will give you some help. If they don't, try this article: http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
I remember migrating a site and having to FTP in to rename the plugins folder to plugins.hold or something and then I could login then I went back and renamed it again. But just to be safe I would follow the article and not my words.
The eregi() function, actually, the entire ereg_* family of functions was removed entirely in PHP 7.x. According to your error log, you have a voice chat plugin still using those functions.
Stack trace: #0 /home/atifchat/public_html/pakistanivoicechat.com/wp-includes/class-wp-hook.php
Suggestion: Contact plugin developer and ask them to update.

Apigility v1.0.4 REST API GET methods no longer get valid parameter array

I used Apigility to generate code-connected REST API wrappers for my ZF2 project - it all worked nicely (apart from a few file permissions issues which were easily resolved on the command line). Yesterday I ran a composer update and it updated Apigility to 1.0.4 and now my collection GET methods (with signatures fetchAll($params = array()) are getting called with an empty parameter array. I can see from Firebug console that these are still being called with the correct parameters browser side so it appears that something has changed with the Apigility wrapper processing that has broken this. Does anyone have any knowledge or can shed any light on why this might have changed / broken?
I also discovered that since the update I can't access the Apigility Admin UI that was used to generate the API wrappers, since it fails to load with a ZF2 routing error:
Fatal error: Uncaught exception 'Zend\Mvc\Router\Exception\RuntimeException' with message 'Part route may not terminate' in /private/var/www/vhosts/hamster.local/vendor/zendframework/zendframework/library/Zend/Mvc/Router/Http/Part.php:202 Stack trace:
#0 /private/var/www/vhosts/hamster.local/vendor/zendframework/zendframework/library/Zend/Mvc/Router/Http/TreeRouteStack.php(351): Zend\Mvc\Router\Http\Part->assemble(Array, Array)
#1 /private/var/www/vhosts/hamster.local/vendor/zendframework/zendframework/library/Zend/View/Helper/Url.php(100): Zend\Mvc\Router\Http\TreeRouteStack->assemble(Array, Array)
#2 [internal function]: Zend\View\Helper\Url->__invoke('zf-apigility')
#3 /private/var/www/vhosts/hamster.local/vendor/zendframework/zendframework/library/Zend/View/Renderer/PhpRenderer.php(399): call_user_func_array(Object(Zend\View\Helper\Url), Array)
#4 /private/var/www/vhosts/hamster.local/vendor/zfcampus/zf-apigility-admin-ui/view/zf-apigility-ui.phtml(6): Zend\View\Renderer\PhpRenderer->__call('url', Array)
#5 /private/v in /private/var/www/vhosts/hamster.local/vendor/zendframework/zendframework/library/Zend/Mvc/Router/Http/Part.php on line 202
Again I have no clue what might have caused this other than a borked update of Apigility. Regressing to v1.0.3 fixes both of these issues, but I'd like to have some of the updated features in 1.0.4.
Any help greatly appreciated!
In order to access to apigility admin, go to the file:
vendor/zfcampus/zf-apigility-admin-ui/view/zf-apigility-ui.phtml
and commet the line 6 and 14.
Maybe there are some problems with the routes.

Cannot Reindex Data's In Magento Admin & Shell

I have 70k products in my magento site.
I need to reindex the product data's in admin panel.
When i have tried to reindex the data's in Magento Admin panel it give below error.
Cannot Initialize the Indexer Process
So i have planned to reindex the data's using Shell access,
it show me the below error message.
I have rooted inside the shell folder & executed this command
php -f indexer.php reindexall
When i execute above command, it gives the below error message.
PHP Fatal error: Uncaught exception 'Zend_Exception' with message 'dbModel read resource does not implement Zend_Db_Adapter_Abstract' in /home/demo/public_html/magento/lib/Varien/Data/Collection/Db.php:187
Stack trace:
#0 /home/demo/public_html/magento/app/code/core/Mage/Core/Model/Resource/Db/Collection/Abstract.php(134): Varien_Data_Collection_Db->setConnection(false)
#1 /home/demo/public_html/magento/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Core_Model_Resource_Db_Collection_Abstract->__construct(Array)
#2 /home/demo/public_html/magento/app/code/core/Mage/Core/Model/Config.php(1380): Mage_Core_Model_Config->getModelInstance('index_resource/...', Array)
#3 /home/demo/public_html/magento/app/Mage.php(490): Mage_Core_Model_Config->getResourceModelInstance('index/process_c...', Array)
#4 /home/demo/public_html/magento/app/code/core/Mage/Index/Model/Indexer.php(67): Mage::getResourceModel('index/process_c...')
#5 /home/demo/public_html/magento/app/code/core/Mage/Core/Model/Config.php(1348): Mage_Index_Model_Indexer-> in /home/demo/public_html/magento/lib/Varien/Data/Collection/Db.php on line 187
Can anyone point out me what was the issues?
THanks!
It may be a caching problem. If you have enabled APC, you should probably disable it, restart Apache and try re-indexing again.
This can also happen if you are missing a local.xml file.
It's a permission problem. chmod -R 777 var/* should solve it. Try removing var/cache/* first.

Categories