I tried with this line, is it the right way?
https://nplus1bicycles.com/?rest_route=/
I got this error
Fatal error: Uncaught Error: Undefined class constant 'DOWNLOAD_JOBS' in /home/nplusbic/public_html/wp-content/plugins/wpml-translation-management/classes/ATE/REST/Download.php:27
Stack trace:
#0 /home/nplusbic/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/Adaptor.php(18): WPML\TM\ATE\REST\Download->get_routes()
#1 /home/nplusbic/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/API/REST/Base.php(23): WPML\Rest\Adaptor->add_hooks()
#2 /home/nplusbic/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(151): WPML\Rest\Base->add_hooks()
#3 /home/nplusbic/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php(121): WPML_Action_Filter_Loader->run_factory(Object(WPML\TM\REST\FactoryLoader))
#4 /home/nplusbic/public_html/wp-includes/class-wp-hook.php(288): WPML_Action_Filter_Loader->deferred_loader(Object(WP_REST_Server))
#5 /home/nplusbic/public_h in /home/nplusbic/public_html/wp-content/plugins/wpml-translation-management/classes/ATE/REST/Download.php on line 27
There has been a critical error on your website.
You don't have to enable it.
https://yoursite.com/wp-json/namespace/route
Here is a good resource on using it:
Rest API reference
Related
Error on the site under cms wordpress.
The site just suddenly stopped working.
Uncaught Error: Call to undefined function cache_users() in /www/wwwroot/beavers-auto.com/wp-includes/class-wp-user-query.php:843 Stack trace:
#0 /www/wwwroot/beavers-auto.com/wp-includes/class-wp-user-query.php(79): WP_User_Query->query()
#1 /www/wwwroot/beavers-auto.com/wp-includes/user.php(763): WP_User_Query->__construct()
#2 /www/wwwroot/beavers-auto.com/wp-content/plugins/stm-post-type/stm-post-type.php(281): get_users()
#3 /www/wwwroot/beavers-auto.com/wp-settings.php(447): include_once('...')
#4 /www/wwwroot/beavers-auto.com/wp-config.php(84): require_once('...')
#5 /www/wwwroot/beavers-auto.com/wp-load.php(50): require_once('...')
#6 /www/wwwroot/beavers-auto.com/wp-blog-header.php(13): require_once('...')
#7 /www/wwwroot/beavers-auto.com/index.php(17): require('...')
#8 {main} thrown in /www/wwwroot/beavers-auto.com/wp-includes/class-wp-user-query.php on line 843
Nothing happens when changing the code.
Looks like a plugin conflict. You should uninstall plugins one by one to see which one is causing the problem and you should probably start with stm-post-type plugin.
Hope it helps
Update the stm-post-type plugin to 4.8.5, this is solved there.
I was doing some updates on my hosting when the loading of my website failed.
This is the error.
Fatal error: Uncaught Error: Call to undefined function cb_child_process_location() in /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-content/themes/hello-elementor-child/header.php:23 Stack trace: #0 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-includes/template.php(770): require_once() #1 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-includes/template.php(716): load_template('/homepages/5/d8...', true, Array) #2 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-includes/general-template.php(48): locate_template(Array, true, true, Array) #3 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(9): get_header() #4 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-includes/template-loader.php(106): include('/homepages/5/d8...') #5 /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-blog-header.php(19): require_once('/homepages/5/d8...') # in /homepages/5/d848895393/htdocs/clickandbuilds/WordPress/Mywebsite/wp-content/themes/hello-elementor-child/header.php on line 23
If I switch the theme to the original (Hello-Elementor) the body loads successfully but it doesnt load the header, I dont know why.
Any clue of where is the issue or how can I fix the child theme?
Thanks in advice.
I am using contact form 7 multi step in wordpress and when I'm using this shortcode in my file I am getting this error. and when I am removing my shortcode with multistep, error isn't coming. Please help
The site is experiencing technical difficulties
here's my shortocde
[multistep "1-3-https://mywebsite.com/driver-form-2"]
Here is my Debug Error
Fatal error: Uncaught Error: Class 'WPCF7_FormTag' not found in /home/website.com/wp-content/plugins/contact-form-7-multi-step-module/form-tags/module-multistep.php:58 Stack trace: #0 /home/website.com/wp-content/plugins/contact-form-7/includes/shortcodes.php(174): cf7msm_multistep_shortcode_handler(Array) #1 [internal function]: WPCF7_ShortcodeManager->do_shortcode_tag(Array) #2 /home/website.com/wp-content/plugins/contact-form-7/includes/shortcodes.php(94): preg_replace_callback('/(\\[?)\\[(respon...', Array, '<div style="hei...') #3 /home/website.com/wp-content/plugins/contact-form-7/includes/contact-form.php(500): WPCF7_ShortcodeManager->do_shortcode('<div style="hei...') #4 /home/website.com/wp-content/plugins/contact-form-7/includes/contact-form.php(559): WPCF7_ContactForm->form_do_shortcode() #5 /home/website.com/wp-content/plugins/contact-form-7/includes/contact-form.php(342): WPCF7_ContactForm->form_elements() #6 /home/naxtelca/rideonri in /home/website.com/wp-content/plugins/contact-form-7-multi-step-module/form-tags/module-multistep.php on line 58
I have a problem with this theme.
2019-05-27T20:26:30+00:00 CRITICAL Uncaught Error: Call to a member function value() on null in /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php:1162
Stack trace:
#0 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1217): Storefront_NUX_Starter_Content->_get_created_starter_content_products()
#1 /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php(1007): Storefront_NUX_Starter_Content->_query_starter_content(‘page’, ‘homepage’, true)
#2 /public_html/wp-includes/class-wp-hook.php(286): Storefront_NUX_Starter_Content->update_homepage_content(Object(WP_Customize_Manager))
#3 /public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#4 /public_html/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#5 /public_html/wp-includes/class-wp-customize-manager.php(1887): do_action(‘custom en /public_html/wp-content/themes/storefront/inc/nux/class-storefront-nux-starter-content.php en la línea 1162
When I try the WordPress Custimizer this happens.
I currently use WooCommerce in its latest version.
I could solve it commenting on the content of the function of line 1162
I do not know what happens, does the same thing happen to someone?
Fixed, I using a plugin "Advanced Shipment Tracking for WooCommerce" and fixed in update 2.0.1
I got this message all time in the bottom left of my browser, even the site is full working. It is a bit annoying for user. I have tried to hide it using css but seems impossible.
Do you guys know how to hide the error message? This is the error from the logs file:
Error: Call to a member function getPlugins() on null in Drupal\feeds\Entity\Feed->preSave() (line 443 of /var/www/html/modules/contrib/feeds/src/Entity/Feed.php)
#0 /var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php(434): Drupal\feeds\Entity\Feed->preSave(Object(Drupal\feeds\FeedStorage))
#1 /var/www/html/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(298): Drupal\Core\Entity\EntityStorageBase->doPreSave(Object(Drupal\feeds\Entity\Feed))
#2 /var/www/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php(389): Drupal\Core\Entity\ContentEntityStorageBase->doPreSave(Object(Drupal\feeds\Entity\Feed))
#3 /var/www/html/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(761): Drupal\Core\Entity\EntityStorageBase->save(Object(Drupal\feeds\Entity\Feed))
#4 /var/www/html/core/lib/Drupal/Core/Entity/Entity.php(364): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save(Object(Drupal\feeds\Entity\Feed))
#5 /var/www/html/modules/contrib/feeds/feeds.module(46): Drupal\Core\Entity\Entity->save()
#6 [internal function]: feeds_cron()
#7 /var/www/html/core/lib/Drupal/Core/Extension/ModuleHandler.php(391): call_user_func_array('feeds_cron', Array)
#8 /var/www/html/core/lib/Drupal/Core/Cron.php(223): Drupal\Core\Extension\ModuleHandler->invoke('feeds', 'cron')
#9 /var/www/html/core/lib/Drupal/Core/Cron.php(122): Drupal\Core\Cron->invokeCronHandlers()
#10 /var/www/html/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#11 /var/www/html/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#12 /var/www/html/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate(Object(Symfony\Component\HttpKernel\Event\PostResponseEvent), 'kernel.terminat...', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#13 /var/www/vendor/symfony/http-kernel/HttpKernel.php(84): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.terminat...', Object(Symfony\Component\HttpKernel\Event\PostResponseEvent))
#14 /var/www/vendor/stack/builder/src/Stack/StackedHttpKernel.php(32): Symfony\Component\HttpKernel\HttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Render\HtmlResponse))
#15 /var/www/html/core/lib/Drupal/Core/DrupalKernel.php(634): Stack\StackedHttpKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Render\HtmlResponse))
#16 /var/www/html/index.php(22): Drupal\Core\DrupalKernel->terminate(Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\Render\HtmlResponse))
#17 {main}.
This seems to be general error and to fix it you should try to debug/trace the issue from the code. What I got from your question is you want to remove this error and make it now appearing for the users, if this is on production environment you should disable error reporting to the front-end, this can be done in D8 by going to admin/config/development/logging and select "Error messages to display" and save your configuration. after that you can debug and trace this error.
I hope this helps you.