Skip Navigation

[Resolved] Deprecated: block_categories is deprecated since version 5.8.0!

This thread is resolved. Here is a description of the problem and solution.

Problem: I'm seeing a PHP Deprecation notice in the logs and also a critical error related to memory.

Solution: Update the wp-config.php file to increase the alotted memory for PHP. This should prevent the critical error:

define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Our team is investigating the PHP Deprecation notice and will fix the issue in an upcoming release of the plugins.

Relevant Documentation:
https://toolset.com/toolset-requirements/

This support ticket is created 2 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 3 voices.

Last updated by Christian Cox 2 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#2128271

Hello,

When trying to edit "certain" posts under news category, I get:
There has been a critical error on this website.

Error log shows:
Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead.

When I deactivate Toolset Blocks, I am able to edit the post.

I have updated Toolset Blocks and Types to latest version.

WordPress version:
5.8
PHP Version:
7.4.16

#2128551

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+01:00)

Hi there

When you say the error log shows the deprecation notice, I suspect you are simply talking about a JS message in the browser console. Such a deprecation notice will have no effect on your site.

If you get a critical error, that sounds like a PHP error on the server, and you'll need to check the debug logs.

If you haven't already, turn on the debug log by editing your wp-config.php file and change the line with WP_DEBUG like so:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DISABLE_FATAL_ERROR_HANDLER',true);

That will create a debug.log file in your /wp-content/ directory which you can examine in any text editor. Try visiting the same page where you observe the problem and then inspect the log to see details of the error.

That should help identify the problem.

Please also share the debug info for your site (hidden link).

#2129187

Thank you for your reply!

HERE IS DEBUG.LOG MESSAGE:

[29-Jul-2021 19:15:14 UTC] PHP Notice: Array to string conversion in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/kses.php on line 1650
[29-Jul-2021 19:15:14 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/class-wp-block-parser.php on line 417
[29-Jul-2021 19:15:14 UTC] PHP Warning: strlen() expects parameter 1 to be string, array given in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/class-wp-block-parser.php on line 489
[29-Jul-2021 19:15:14 UTC] PHP Warning: preg_match() expects parameter 2 to be string, array given in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/class-wp-block-parser.php on line 417
[29-Jul-2021 19:15:14 UTC] PHP Warning: strlen() expects parameter 1 to be string, array given in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/class-wp-block-parser.php on line 489
[29-Jul-2021 19:15:19 UTC] PHP Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/functions.php on line 5458
[29-Jul-2021 19:15:19 UTC] PHP Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead. in /home/trgmanagement/public_html/trgofk2017v1/wp-includes/functions.php on line 5458
[29-Jul-2021 19:15:19 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/trgmanagement/public_html/trgofk2017v1/wp-content/plugins/js_composer/config/buttons/shortcode-vc-btn.php on line 318

HERE IS THE TOOLSET DEBUG INFORMATION:

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"https:\/\/www.rohatyngroup.com\/trgofk2017v1","HomeURL":"https:\/\/www.rohatyngroup.com","Version":"5.8","PermalinkStructure":"\/%year%\/%monthnum%\/%day%\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, wp_template, wpforms, fw-portfolio, shufflehound_header, shufflehound_titleb, shufflehound_footer, wpmem_product, wp-types-group, wp-types-user-group, wp-types-term-group, cookielawinfo, videoplayer, vc_grid_item, tablepress_table, view, view-template, dlm_download, dlm_download_version, people, portfolio-company, wpa-helper, vc4_templates","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed, dp-rewrite-republish, hidden"},"Server":{"jQueryVersion":"3.6.0","PHPVersion":"7.4.16","MySQLVersion":"5.7.33","ServerSoftware":"Apache"},"PHP":{"MemoryLimit":"128M","UploadMax":"100M","PostMax":"128M","TimeLimit":"5000","MaxInputVars":"1000"}},"plugins":{"active_plugins":{"redux-framework-master\/redux-framework.php":{"Name":"Redux","PluginURI":"http:\/\/wordpress.org\/plugins\/redux-framework","Version":"4.2.10","Author":"Redux.io","AuthorURI":"http:\/\/redux.io","TextDomain":"redux-framework","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Redux","AuthorName":"Redux.io"},"akismet\/akismet.php":{"Name":"Akismet Anti-Spam","PluginURI":"https:\/\/akismet.com\/","Version":"4.1.10","Author":"Automattic","AuthorURI":"https:\/\/automattic.com\/wordpress-plugins\/","TextDomain":"akismet","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Akismet Anti-Spam","AuthorName":"Automattic"},"cookie-law-info\/cookie-law-info.php":{"Name":"GDPR Cookie Consent","PluginURI":"https:\/\/www.webtoffee.com\/product\/gdpr-cookie-consent\/","Version":"2.0.4","Author":"WebToffee","AuthorURI":"https:\/\/www.webtoffee.com\/","TextDomain":"cookie-law-info","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"GDPR Cookie Consent","AuthorName":"WebToffee"},"download-monitor\/download-monitor.php":{"Name":"Download Monitor","PluginURI":"https:\/\/www.download-monitor.com","Version":"4.4.4","Author":"Never5","AuthorURI":"https:\/\/www.never5.com","TextDomain":"download-monitor","DomainPath":"","Network":false,"RequiresWP":"3.8","RequiresPHP":"","UpdateURI":"","Title":"Download Monitor","AuthorName":"Never5"},"duplicate-post\/duplicate-post.php":{"Name":"Yoast Duplicate Post","PluginURI":"https:\/\/yoast.com\/wordpress\/plugins\/duplicate-post\/","Version":"4.1.2","Author":"Enrico Battocchi \u0026 Team Yoast","AuthorURI":"https:\/\/yoast.com","TextDomain":"duplicate-post","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Yoast Duplicate Post","AuthorName":"Enrico Battocchi \u0026 Team Yoast"},"envato-market\/envato-market.php":{"Name":"Envato Market","PluginURI":"https:\/\/envato.com\/market-plugin\/","Version":"2.0.6","Author":"Envato","AuthorURI":"https:\/\/envato.com","TextDomain":"envato-market","DomainPath":"\/languages\/","Network":false,"RequiresWP":"5.1","RequiresPHP":"","UpdateURI":"","Title":"Envato Market","AuthorName":"Envato"},"footnotes\/footnotes.php":{"Name":"footnotes","PluginURI":"https:\/\/wordpress.org\/plugins\/footnotes\/","Version":"2.7.3","Author":"Mark Cheret","AuthorURI":"https:\/\/cheret.org\/footnotes","TextDomain":"footnotes","DomainPath":"\/languages","Network":false,"RequiresWP":"3.9","RequiresPHP":"7.0","UpdateURI":"","Title":"footnotes","AuthorName":"Mark Cheret"},"ga-google-analytics-pro\/ga-google-analytics-pro.php":{"Name":"GA Google Analytics Pro","PluginURI":"https:\/\/plugin-planet.com\/ga-google-analytics-pro\/","Version":"2.0","Author":"Jeff Starr","AuthorURI":"https:\/\/plugin-planet.com\/","TextDomain":"ga-google-analytics-pro","DomainPath":"\/languages","Network":false,"RequiresWP":"4.1","RequiresPHP":"5.6.20","UpdateURI":"","Title":"GA Google Analytics Pro","AuthorName":"Jeff Starr"},"html5-video-player\/html5-video-player.php":{"Name":"Html5 Video Player","PluginURI":"http:\/\/wpvideoplayer.com\/","Version":"2.3.7","Author":"bPlugins LLC","AuthorURI":"http:\/\/bplugins.com","TextDomain":"html5-video-player","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Html5 Video Player","AuthorName":"bPlugins LLC"},"import-users-from-csv-with-meta\/import-users-from-csv-with-meta.php":{"Name":"Import and export users and customers","PluginURI":"https:\/\/www.codection.com","Version":"1.17.8.1","Author":"codection","AuthorURI":"https:\/\/codection.com","TextDomain":"import-users-from-csv-with-meta","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Import and export users and customers","AuthorName":"codection"},"jellyfish-counter-widget\/jellyfish-counter-widget.php":{"Name":"Jellyfish Counter Widget","PluginURI":"http:\/\/strawberryjellyfish.com\/wordpress-plugins\/jellyfish-counter\/","Version":"1.4.4","Author":"Rob Miller","AuthorURI":"http:\/\/strawberryjellyfish.com\/","TextDomain":"jellyfish-counter-widget","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Jellyfish Counter Widget","AuthorName":"Rob Miller"},"js_composer\/js_composer.php":{"Name":"WPBakery Page Builder","PluginURI":"http:\/\/wpbakery.com","Version":"6.6.0","Author":"Michael M - WPBakery.com","AuthorURI":"http:\/\/wpbakery.com","TextDomain":"js_composer","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WPBakery Page Builder","AuthorName":"Michael M - WPBakery.com"},"login-logo\/login-logo.php":{"Name":"Login Logo","PluginURI":"https:\/\/txfx.net\/wordpress-plugins\/login-logo\/","Version":"0.10.0","Author":"Mark Jaquith","AuthorURI":"https:\/\/coveredweb.com\/","TextDomain":"login-logo","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Login Logo","AuthorName":"Mark Jaquith"},"pdf-analytics\/pdf-analytics.php":{"Name":"PDF Analytics","PluginURI":"https:\/\/carlhendy.com\/pdf-analytics\/","Version":"2.1","Author":"Carl Hendy","AuthorURI":"https:\/\/carlhendy.com\/","TextDomain":"pdf-analytics","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"PDF Analytics","AuthorName":"Carl Hendy"},"really-simple-ssl\/rlrsssl-really-simple-ssl.php":{"Name":"Really Simple SSL","PluginURI":"https:\/\/really-simple-ssl.com","Version":"5.0.4","Author":"Really Simple Plugins","AuthorURI":"https:\/\/really-simple-plugins.com","TextDomain":"really-simple-ssl","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Really Simple SSL","AuthorName":"Really Simple Plugins"},"revslider\/revslider.php":{"Name":"Slider Revolution","PluginURI":"https:\/\/www.sliderrevolution.com\/","Version":"6.4.11","Author":"ThemePunch","AuthorURI":"https:\/\/themepunch.com\/","TextDomain":"revslider","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Slider Revolution","AuthorName":"ThemePunch"},"sticky-menu-or-anything-on-scroll\/sticky-menu-or-anything.php":{"Name":"Sticky Menu (or Anything!) on Scroll","PluginURI":"https:\/\/wpsticky.com\/","Version":"2.31","Author":"WebFactory Ltd","AuthorURI":"https:\/\/www.webfactoryltd.com\/","TextDomain":"sticky-menu-or-anything-on-scroll","DomainPath":"","Network":false,"RequiresWP":"3.6","RequiresPHP":"5.2","UpdateURI":"","Title":"Sticky Menu (or Anything!) on Scroll","AuthorName":"WebFactory Ltd"},"tablepress\/tablepress.php":{"Name":"TablePress","PluginURI":"https:\/\/tablepress.org\/","Version":"1.14","Author":"Tobias Bäthge","AuthorURI":"https:\/\/tobias.baethge.com\/","TextDomain":"tablepress","DomainPath":"","Network":false,"RequiresWP":"5.6","RequiresPHP":"5.6.20","UpdateURI":"","Title":"TablePress","AuthorName":"Tobias Bäthge"},"toolset-blocks\/wp-views.php":{"Name":"Toolset Blocks","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"1.6","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"toolset-blocks","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Blocks","AuthorName":"OnTheGoSystems"},"types\/wpcf.php":{"Name":"Toolset Types","PluginURI":"https:\/\/toolset.com\/?utm_source=typesplugin\u0026utm_campaign=types\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"3.4.11","Author":"OnTheGoSystems","AuthorURI":"http:\/\/www.onthegosystems.com","TextDomain":"types","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Toolset Types","AuthorName":"OnTheGoSystems"},"unconfirmed\/unconfirmed.php":{"Name":"Unconfirmed","PluginURI":"http:\/\/github.com\/boonebgorges\/unconfirmed","Version":"1.3.5","Author":"Boone B Gorges","AuthorURI":"https:\/\/boone.gorg.es","TextDomain":"unconfirmed","DomainPath":"\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Unconfirmed","AuthorName":"Boone B Gorges"},"updraftplus\/updraftplus.php":{"Name":"UpdraftPlus - Backup\/Restore","PluginURI":"https:\/\/updraftplus.com","Version":"1.16.59","Author":"UpdraftPlus.Com, DavidAnderson","AuthorURI":"https:\/\/updraftplus.com","TextDomain":"updraftplus","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"https:\/\/wordpress.org\/plugins\/updraftplus\/","Title":"UpdraftPlus - Backup\/Restore","AuthorName":"UpdraftPlus.Com, DavidAnderson"},"waspthemes-yellow-pencil\/yellow-pencil.php":{"Name":"YellowPencil Pro","PluginURI":"https:\/\/yellowpencil.waspthemes.com","Version":"7.5.0","Author":"WaspThemes","AuthorURI":"https:\/\/yellowpencil.waspthemes.com","TextDomain":"waspthemes-yellow-pencil","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"YellowPencil Pro","AuthorName":"WaspThemes"},"wordfence\/wordfence.php":{"Name":"Wordfence Security","PluginURI":"http:\/\/www.wordfence.com\/","Version":"7.5.4","Author":"Wordfence","AuthorURI":"http:\/\/www.wordfence.com\/","TextDomain":"wordfence","DomainPath":"\/languages","Network":true,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"Wordfence Security","AuthorName":"Wordfence"},"wp-members-download-protect\/wp-members-download-protect.php":{"Name":"WP-Members Download Protect","PluginURI":"https:\/\/rocketgeek.com\/plugins\/wp-members\/extensions\/download-protect","Version":"1.7.2","Author":"Chad Butler","AuthorURI":"http:\/\/butlerblog.com\/","TextDomain":"wp-members-dp","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members Download Protect","AuthorName":"Chad Butler"},"wp-members-editor\/wp-members-editor.php":{"Name":"WP-Members Text String Editor","PluginURI":"https:\/\/rocketgeek.com\/plugins\/wp-members\/extensions\/editor\/","Version":"1.0.6","Author":"Chad Butler","AuthorURI":"http:\/\/butlerblog.com","TextDomain":"wp-members-editor","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members Text String Editor","AuthorName":"Chad Butler"},"wp-members-invite-codes\/wp-members-invite-codes.php":{"Name":"WP-Members Invitation Codes Extension","PluginURI":"https:\/\/rocketgeek.com\/plugins\/wp-members\/extensions\/invite-codes\/","Version":"2.0.3","Author":"Chad Butler","AuthorURI":"","TextDomain":"wp-members-ic","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members Invitation Codes Extension","AuthorName":"Chad Butler"},"wp-members-security\/wp-members-security.php":{"Name":"WP-Members Security Extension","PluginURI":"https:\/\/rocketgeek.com\/plugins\/wp-members\/extensions\/security-extension\/","Version":"1.3.0","Author":"Chad Butler","AuthorURI":"","TextDomain":"wp-members-security","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members Security Extension","AuthorName":"Chad Butler"},"wp-members-user-tracking\/wp-members-user-tracking.php":{"Name":"WP-Members User Tracking Extension","PluginURI":"https:\/\/rocketgeek.com\/plugins\/wp-members-user-tracking\/","Version":"1.3.2","Author":"Chad Butler","AuthorURI":"https:\/\/butlerblog.com\/","TextDomain":"wp-members-track","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members User Tracking Extension","AuthorName":"Chad Butler"},"wp-members\/wp-members.php":{"Name":"WP-Members","PluginURI":"https:\/\/rocketgeek.com","Version":"3.3.9.3","Author":"Chad Butler","AuthorURI":"http:\/\/butlerblog.com\/","TextDomain":"wp-members","DomainPath":"\/i18n\/languages\/","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP-Members","AuthorName":"Chad Butler"},"wp-rollback\/wp-rollback.php":{"Name":"WP Rollback","PluginURI":"https:\/\/impress.org\/","Version":"1.7.1","Author":"Impress.org","AuthorURI":"https:\/\/impress.org\/","TextDomain":"wp-rollback","DomainPath":"\/languages","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"WP Rollback","AuthorName":"Impress.org"},"wpforms-lite\/wpforms.php":{"Name":"WPForms Lite","PluginURI":"https:\/\/wpforms.com","Version":"1.6.8.1","Author":"WPForms","AuthorURI":"https:\/\/wpforms.com","TextDomain":"wpforms-lite","DomainPath":"assets\/languages","Network":false,"RequiresWP":"4.9","RequiresPHP":"5.5","UpdateURI":"","Title":"WPForms Lite","AuthorName":"WPForms"}},"mu_plugins":{"installatron_hide_status_test.php":{"Name":"installatron_hide_status_test.php","PluginURI":"","Version":"","Description":"","Author":"","AuthorURI":"","TextDomain":"","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","UpdateURI":"","Title":"","AuthorName":""}},"dropins":[]},"theme":{"Name":"TRG","ThemeURI":null,"Author":"\u003Ca href=\u0022http:\/\/shufflehound.com\u0022\u003EShufflehound\u003C\/a\u003E","AuthorURI":null,"Template":"jevelin","Version":"","TextDomain":null,"DomainPath":null},"extra-debug":{"types":{"add_resized_images_to_library":0,"images_remote":0,"images_remote_cache_time":"36","help_box":"by_types","hide_standard_custom_fields_metabox":"show","postmeta_unfiltered_html":"on","usermeta_unfiltered_html":"on"},"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":true,"allow_views_wp_widgets_in_elementor":true,"default_user_editor":"gutenberg","default_wpa_editor":"gutenberg","manage_meta_transient_method":"cron","editing_experience":"mixed","view_cpt_team-biography":910,"view_cpt_our-team":"910","views_template_for_people":909,"view_cpt_people":"910","view_cpt_portfolio-company":1043,"views_template_for_portfolio-company":1046,"view_cpt_people-1":1866},"installer":{"version":"2.6.1","repositories":{"wpml":{"api-url":"https:\/\/api.wpml.org\/","bucket-url":"not assigned","subscription":"","last-successful-subscription-fetch":"none"},"toolset":{"api-url":"https:\/\/api.toolset.com\/","bucket-url":"https:\/\/wptypes.s3.amazonaws.com\/toolset-bucket-69.json","subscription":{"key":"blBBeO2MN4","data":{"subscription_type":5739,"expires":"2021-09-13","status":"1","notes":"resubscribed from #81963"},"registered_by":45,"site_url":"https:\/\/www.rohatyngroup.com\/trgofk2017v1"},"last-successful-subscription-fetch":"2021-07-29 05:51:53"}},"instances":{"\/home\/trgmanagement\/public_html\/trgofk2017v1\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php":{"bootfile":"\/home\/trgmanagement\/public_html\/trgofk2017v1\/wp-content\/plugins\/types\/vendor\/otgs\/installer\/installer.php","version":"2.6.1","args":{"plugins_install_tab":"1","repositories_include":["toolset","wpml"],"site_key_nags":[{"repository_id":"toolset","product_name":"Toolset"}]},"delegated":true}}}}}

#2129259

Hi, it looks like there are two things going on here.

1. There is a lack of memory available on your server, which is the source of the critical error. You can try increasing the amount of memory available by implementing code like this in your site's wp-config.php file:

define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Scan the file first to make sure these two limits are not defined already. If they are already defined, change the limit values in those existing definitions to be at least 256M. If these limits are not defined yet, copy those two lines and paste them in to your file just before it says "That's all, stop editing". Upload the updated wp-config.php file back to your server and test editing the same post once again.

In some cases this code alone is sufficient for raising the available memory. In other cases not, and you'll need to get your hosting company involved to help allocate more memory for your site.

2. There is a PHP deprecation notice triggered when Toolset plugins are active. I'm able to replicate this problem on my local test site when Types, Blocks, WooCommerce, and Toolset WooCommerce Blocks are all active if I edit any post. I'm escalating this issue to my 2nd tier support team for further investigation. This PHP deprecation notice should not have a serious negative impact on your site. I think it's just a coincidence that the memory error caused a critical issue while this PHP deprecation notice is also being logged. The two are most likely unrelated, but we need to address the deprecation issue regardless. I'll let you know once I have more information about that from my 2nd tier support team.

#2129337

My issue is resolved now. Thank you!

#2130703

FYI - we will have a hotfix soon to address the deprecation warning. I'll let you know once that is ready for automatic installation.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.