rcwatson
Forum Replies Created
-
Resolved
I now have it working. For some reason it just started working and I don’t know why.
On Live, REST API is enabled.This site is a Divi site, in case that matters for future issues like this.
Closing.
Thanks. That seems to have fixed the issue.
Thanks. We don’t have the Pro version, so I submitted it through the alternate form on that page as a “Bug” and mentioned your name as requested.
I turned on logging for the plugin and submitted the system info via that form. However, I was unable to turn ondefine( 'WP_DEBUG', true );
because the site would crash with the following message:Fatal error: Uncaught Error: Call to undefined function wp_kses() in /home/mytowntr/public_html/wp-includes/functions.php:6073 Stack trace: #0 /home/mytowntr/public_html/wp-includes/functions.php(5799): wp_trigger_error(”, ‘File wp-db.php …’, 16384) #1 /home/mytowntr/public_html/wp-includes/wp-db.php(13): _deprecated_file(‘wp-db.php’, ‘6.1.0’, ‘wp-includes/cla…’) #2 /home/mytowntr/public_html/wp-content/plugins/a2-w3-total-cache/lib/W3/Db.php(11): require_once(‘/home/mytowntr/…’) #3 /home/mytowntr/public_html/wp-content/plugins/a2-w3-total-cache/inc/define.php(1569): require_once(‘/home/mytowntr/…’) #4 /home/mytowntr/public_html/wp-content/db.php(41): w3_require_once(‘/home/mytowntr/…’) #5 /home/mytowntr/public_html/wp-includes/load.php(685): require_once(‘/home/mytowntr/…’) #6 /home/mytowntr/public_html/wp-settings.php(132): require_wp_db() #7 /home/mytowntr/public_html/wp-config.php(127): require_once(‘/home/mytowntr/…’) #8 /home/mytowntr/public_html/wp-load.php(50): require_once(‘/home/mytowntr/…’) #9 /home/mytowntr/public_html/wp-admin/admin.php(34): require_once(‘/home/mytowntr/…’) #10 {main} thrown in /home/mytowntr/public_html/wp-includes/functions.php on line 6073
There has been a critical error on this website.
Hello? Is thread now abandoned?
Checking in to see if there are any other things we can try here. Thanks.
Thanks. We do have wordfence-waf.php set up for MySQLi storage. I’ve now removed wp-content/wflogs and used these instructions to look up whether it’s using MySQLi, but it still says “file system” for the Active WAF storage engine. Also, the filesystem checks for whether the web server can read/write ~/wp-content/wflogs is, predictably, saying “No files readable” and “no files writeable”. Now I’m also getting the error “Unable to open /code/wp-content/wflogs/ips.php for reading and writing.” in the php-error.log. But, the error that initiated this thread has not reappeared in the short time I’ve done this and have visited the site repeatedly. It could appear later, but for now, it’s gone. What should I try next to make sure that MySQLi is working and so I don’t get “Unable to open /code/wp-content/wflogs/ips.php for reading and writing.” in the php-error.log?
Thanks. The host is Pantheon.io. On the Live environments of Pantheon, filesystems are read-only. We don’t have root access to Pantheon-managed containers, so we can’t just go in and change things to writeable. We’ve done all the workarounds they have us implement to make a symlink to their separate writable filesystem for Wordfence and other plugins with assumed write access. Pantheon doesn’t currently have any symlink workarounds listed in their documentation for the /plugins/wordfence directory. Can you let me know which file(s) and directory(ies) need to be writeable in /plugins/wordfence and I’ll create symlinks for those. I’ll also have them update their documentation so that others don’t have this issue in the future.
Thanks. I sent the diagnostic just now.
My problem now is that since I added a previously-used license key to get my initial setup done, I no longer have the Wordfence > Install page on the left-hand menu. When I remove the license key from the text box to try to trigger it anew, I cannot proceed with anything unless I have a license key. It would be nice if the old way of getting a free license key through the website was reinstated.
@ankitposimyth I added the debug settings you recommended and nothing was produced in the php-error.log file. But my hosting provider surfaced this error in its dashboard:
Uncaught Error: Class 'Elementor\Scheme_Typography' not found in /code/wp-content/plugins/theplus_elementor_addon/modules/widgets/tp_adv_text_block.php:165 Stack trace: #0 /code/wp-content/plugins/elementor/includes/base/controls-stack.php(2280): TheplusAddons\Widgets\ThePlus_Adv_Text_Block->_register_controls() #1 /code/wp-content/plugins/elementor/includes/base/controls-stack.php(494): Elementor\Controls_Stack->init_controls() #2 /code/wp-content/plugins/elementor/includes/base/widget-base.php(177): Elementor\Controls_Stack->get_stack() #3 /code/wp-content/plugins/elementor/includes/managers/widgets.php(336): Elementor\Widget_Base->get_stack(false) #4 [internal function]: Elementor\Widgets_Manager->ajax_get_widget_types_controls_config(Array, Object(Elementor\Core\Common\Modules\Ajax\Module)) #5 /code/wp-content/plugins/elementor/core/common/modules/ajax/module.php(171): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module)) #6 /code/wp-includes/class-wp-hookwp-content/plugins/theplus_elementor_addon/modules/widgets/tp_adv_text_block.php:165an hour ago
I found the button for scanning unused widgets and I turned off all the unused ones. That didn’t fix anything with Elementor, though. It still was in a state of freezing up and not getting to where I can edit anything.
Then I repeated disabling individual plugins and found that this time it’s the plugin named Premium Addons for Elementor that is causing the problem.
As for the error I noted above, if it helps, here is the site health info from WordPress
### wp-core ### version: 5.9.3 site_language: en_US user_language: en_US timezone: America/Chicago permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 443 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: /code wordpress_size: 204.07 MB (213981324 bytes) uploads_path: /code/wp-content/uploads uploads_size: 1.39 GB (1495298834 bytes) themes_path: /code/wp-content/themes themes_size: 28.15 MB (29522057 bytes) plugins_path: /code/wp-content/plugins plugins_size: 283.46 MB (297225970 bytes) database_size: 153.20 MB (160644144 bytes) total_size: 2.05 GB (2196672329 bytes) ### wp-active-theme ### name: Astra (astra) version: 3.7.10 author: Brainstorm Force author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme parent_theme: none theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, menus, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets theme_path: /code/wp-content/themes/astra ### wp-themes-inactive (2) ### Twenty Twenty-One: version: 1.5, author: the WordPress team Twenty Twenty-Two: version: 1.1, author: the WordPress team ### wp-mu-plugins (3) ### MU WP Native PHP Sessions: version: 0.1, author: Pantheon Pantheon: version: 0.2, author: Pantheon stagingpilot.php: author: (undefined), version: (undefined) ### wp-plugins-active (42) ### Antispam Bee: version: 2.11.0, author: pluginkollektiv Astra Pro: version: 3.6.7, author: Brainstorm Force Astra Widgets: version: 1.2.11, author: Brainstorm Force Bloom: version: 1.3.12, author: Elegant Themes Braintree for WooCommerce Payment Gateway: version: 2.6.4, author: WooCommerce Contact Widgets: version: 1.7.0, author: GoDaddy Cookie Notice & Compliance for GDPR / CCPA: version: 2.2.3, author: Hu-manity.co CTX Feed: version: 4.4.59, author: WebAppick Ele Custom Skin: version: 3.1.4, author: Dudaster.com Elementor: version: 3.6.5, author: Elementor.com Elementor Pro: version: 3.6.5, author: Elementor.com Facebook for WooCommerce: version: 2.6.13, author: Facebook Google Analytics for WordPress by MonsterInsights: version: 8.5.0, author: MonsterInsights Limit Login Attempts: version: 1.7.1, author: Johan Eenfeldt Ninja Forms: version: 3.6.9, author: Saturday Drive Pantheon Advanced Page Cache: version: 1.0.0, author: Pantheon Pinterest for WooCommerce: version: 2.4.3, author: premmerce PixelYourSite: version: 8.2.18, author: PixelYourSite PixelYourSite Pinterest: version: 3.2.5, author: PixelYourSite Premium Addons for Elementor: version: 4.9.10, author: Leap13 Premium Addons PRO: version: 2.7.8, author: Leap13 Redirection: version: 5.2.3, author: John Godley Regenerate Thumbnails: version: 3.1.5, author: Alex Mills (Viper007Bond) SendGrid: version: 1.11.8, author: SendGrid Simple History: version: 3.2.0, author: P?r Thernstr?m Smush: version: 3.9.8, author: WPMU DEV Storefront Product Pagination: version: 1.2.4, author: WooThemes SVG Social Menu: version: 2.0.0, author: Florian Brinkmann The Plus Addons for Elementor: version: 5.0.8, author: POSIMYTH The Plus Addons for Elementor Page Builder: version: 4.1.7, author: POSIMYTH Ultimate Addons for Elementor: version: 1.36.4, author: Brainstorm Force Ultimate Addons for Gutenberg: version: 1.25.4, author: Brainstorm Force Variation Swatches for WooCommerce: version: 1.1.19, author: Emran Ahmed Vintage Charm Homestead Custom Post Types: version: 1.0, author: Easily Amused WooCommerce: version: 6.4.1, author: Automattic WooCommerce Blocks: version: 7.5.0, author: Automattic WooCommerce Content Inserter: version: 1.0.0, author: Rob Watson WooCommerce Square: version: 2.9.1, author: WooCommerce WooCommerce USPS Shipping: version: 4.4.70, author: WooCommerce Woo Custom Stock Status: version: 1.3.0, author: Softound Solutions Wordfence Security: version: 7.5.9, author: Wordfence Yoast SEO: version: 18.6, author: Team Yoast ### wp-plugins-inactive (1) ### Mailchimp for WooCommerce: version: 2.6.2, author: Mailchimp ### wp-server ### server_architecture: Linux 5.10.109+ x86_64 httpd_software: nginx/1.16.1 php_version: 7.4.27 64bit php_sapi: fpm-fcgi max_input_variables: 10000 time_limit: 300 memory_limit: 256M max_input_time: 900 upload_max_filesize: 100M php_post_max_size: 100M curl_version: 7.61.1 OpenSSL/1.1.1k suhosin: false imagick_availability: true pretty_permalinks: true
2. Unused Widget Disable
If your Hosting Provider doesn’t allow a higher memory limit, You just need to disable all unused widgets from The Plus Addons and all other Elementor addons you have installed. This will reduce the need for the required memory limit as the total number of active widgets will go down.
Do I need to have The Plus Addons for Elementor turned on to do this, even though Elementor is inaccessible to me when it’s turned on? How will I know which widgets are unused? Is there a simple way to determine this other than going through every page and poking around to see what’s in use and what’s not?
Thanks. Sorry, I misidentified the plugin earlier. Upgrading by downloading it from your website fixed it.
I already have updated to the latest version (2.4.2) of this plugin (see https://premmerce.com/woocommerce-pinterest/). It’s still presenting this error message. Is that the right plugin? Is there something else to try?