Conversation
supportHave had a number of issues with Ocean extra, the latest is Fatal error : Out of memory (allocated 10485760 bytes) (tried to allocate 4294967296 bytes) in /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins/ocean-extra/includes/freemius/includes/managers/class-fs-plugin-manager.php on line 90 This appears to be a massive amount of memory to allocate. PHP version 8.2 WP version 6.62 OCEAN – latest I was getting error about until I upped the memory in php.ini and in wp-config.php PHP Fatal error Uncaught TypeError: OE_Icon_Picker_Types_Registry::add(): Argument #1 ($type) must be of type OE_Icon_Picker_Type, OE_Icon_Picker_Type_Font_Awesome given, called in /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins/ocean-extra/includes/menu-icons/includes/library/icon-selector/icon-selector.php on line 184 and defined in /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins/ocean-extra/includes/menu-icons/includes/library/icon-selector/includes/registry.php:75 I assume this error maybe because the objects could not be created? Cheers Ian The page I need help with: [ log in to see the link]
Hello @turls2201 , Thank you for reaching out, The first issue is due to a memory limit caused by the server, but you can resolve this by increasing the memory in wp-config.php. Take a look at this link: https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php . Regarding the second issue, I tried testing various scenarios but couldn’t replicate this error at all. Could you let me know the last actions you took aside from updating? Or tell us what settings/conditions on your website have made that error. I want to see if I can reproduce this issue somewhere other than your website. One guess is that Ocean Extra may have been interrupted due to an incomplete update. Please delete and reinstall it manually through your hosting’s file manager or via FTP. Also, kindly, provide us with your system environment information. To do this, please go to WP Dashboard > Tools > Site Health > Info Tab and click on the button Copy site info to clipboard. You can send the information as code here or upload them to http://pastebin.com/ or https://gist.github.com/ and get an exclusive link: https://i.postimg.cc/fbjtkFyJ/image.png (you can remove your email address from the content). In the meantime, if possible, perform a basic troubleshooting checkup method and make sure the issue is related to our theme or plugin(s). To do this, deactivate all other plugins, then activate them one by one and check for this issue. Continue doing this until you find out what product is causing a conflict with our product. Then provide the details as explained above. Please keep us updated on the outcome. Thank you, I hope it helps. Best Regards This reply was modified 1 year, 7 months ago by Shahin .
Hi Thanks for response- I agree on first BUT its the amount of memory that is being allocated 4294967296 byte ( and sometime a lot more) is 4G which is massive – I have increase memory in php.ini to 4096M and similar in wp-config.php As for the plugin – I have probably uninstalled and re-installed about 10 times already so am sure there is no issue with installing, though I will try disabling the base theme. The error appears to occur when I enable when more than x plugins are enabled – like the memory is running out, but these enable fine when ocean extra is not enabled. I think I have a weird error and on testing probably not a Ocean Extra issue but no idea how to solve. I think the root cause. It is very strange as I installed an extra plugin and it is not working! VERY weird. ` wp-core version: 6.6.2 site_language: en_GB user_language: en_GB timezone: Europe/London permalink: undefined https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true wp-paths-sizes wordpress_path: /homepages/44/d4297173619/htdocs/wordpress wordpress_size: loading… uploads_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/uploads uploads_size: loading… themes_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes themes_size: loading… plugins_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins plugins_size: loading… fonts_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/uploads/fonts fonts_size: loading… database_size: loading… total_size: loading… wp-dropins (1) db.php: true wp-active-theme name: OceanWP Child Theme (oceanwp-child-theme-master) version: 1.0 author: OceanWP author_website: https://oceanwp.org/ parent_theme: OceanWP (oceanwp) theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets theme_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes/oceanwp-child-theme-master auto_update: Disabled wp-parent-theme name: OceanWP (oceanwp) version: 4.0.1 author: OceanWP author_website: https://oceanwp.org/about-oceanwp/ theme_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes/oceanwp auto_update: Disabled wp-themes-inactive (2) Hemingway: version: 2.3.2, author: Anders Norén, Auto-updates disabled Storefront: version: 4.6.0, author: Automattic, Auto-updates disabled wp-mu-plugins (1) WordPress automation by Installatron: author: (undefined), version: (undefined) wp-plugins-active (8) Debug Bar: version: 1.1.6, author: wordpressdotorg, Auto-updates enabled Debug Log Manager: version: 2.3.3, author: Bowo, Auto-updates enabled Ocean Custom Sidebar: version: 1.1.3, author: OceanWP, Auto-updates enabled Ocean Extra: version: 2.4.1, author: OceanWP, Auto-updates enabled Ocean Modal Window: version: 2.3.0, author: OceanWP, Auto-updates enabled Query Monitor: version: 3.16.4, author: John Blackbourn, Auto-updates enabled WP Activity Log: version: 5.2.1, author: Melapress, Auto-updates enabled WP Debugging: version: 2.11.24, author: Andy Fragen, Auto-updates enabled wp-plugins-inactive (9) Contact Form 7: version: 5.9.8, author: Takayuki Miyoshi, Auto-updates enabled Font Awesome: version: 4.5.0, author: Font Awesome, Auto-updates disabled Jetpack Protect: version: 3.1.1, author: Automattic - Jetpack Security team, Auto-updates enabled One Time Login: version: 0.4.0, author: Daniel Bachhuber, Auto-updates enabled Really Simple CAPTCHA: version: 2.3, author: Takayuki Miyoshi, Auto-updates enabled SumUp Payment Gateway For WooCommerce: version: 2.6.4, author: SumUp, Auto-updates enabled WooCommerce: version: 9.3.3, author: Automattic, Auto-updates enabled WooCommerce Legacy REST API: version: 1.0.4, author: WooCommerce, Auto-updates disabled WP Crontrol: version: 1.17.0, author: John Blackbourn, Auto-updates disabled wp-media image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: 1 post_max_size: 64M upload_max_filesize: 64M max_effective_size: 64 MB max_file_uploads: 20 gd_version: 2.3.0 gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.53.3 wp-server server_architecture: Linux 4.4.400-icpu-100 x86_64 httpd_software: Apache php_version: 8.2.24 64bit php_sapi: cgi-fcgi max_input_variables: 5000 time_limit: 50000 memory_limit: -1 max_input_time: -1 upload_max_filesize: 64M php_post_max_size: 64M curl_version: 7.74.0 OpenSSL/1.1.1w suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true current: 2024-10-25T16:35:20+00:00 utc-time: Friday, 25-Oct-24 16:35:20 UTC server-time: 2024-10-25T17:35:19+01:00 wp-database extension: mysqli server_version: 10.6.15-MariaDB-1:10.6.15+maria~deb11-log client_version: mysqlnd 8.2.24 max_allowed_packet: 67108864 max_connections: 3000 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /homepages/44/d4297173619/htdocs/wordpress/wp-content WP_PLUGIN_DIR: /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins WP_MEMORY_LIMIT: 256M WP_MAX_MEMORY_LIMIT: 512M WP_DEBUG: true WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: true SCRIPT_DEBUG: true WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable fonts: not writable mu-plugins: writable
Hello @turls2201 , Thank you for reaching out, I’ve tried to conduct extensive checks in various conditions, but unfortunately, I couldn’t find any issues on our side. Can you please let us know how much custom code you have in the child theme? Since you may have many customizations in the child theme on your website, please do the steps below and recheck your issue and let us know the results. Troubleshooting child theme: 1- Remove all customization on the child theme. 2- add your customization one by one to the child theme. 3- After adding each customization code, check your issue Note 1: in the staging website, if you have a cache plugin or server cache. You need to clear its cache contents or disable them. Note 2: Please get a full backup from your website before removing all customization. Note 3: Kindly use the latest version of OceanWP (v4.0.2) and Ocean Extra (v2.4.2) Please keep us posted, Thank you. Best Regards
Hello @turls2201 , Thank you for reaching out, The first issue is due to a memory limit caused by the server, but you can resolve this by increasing the memory in wp-config.php. Take a look at this link: https://developer.wordpress.org/apis/wp-config-php/#increasing-memory-allocated-to-php . Regarding the second issue, I tried testing various scenarios but couldn’t replicate this error at all. Could you let me know the last actions you took aside from updating? Or tell us what settings/conditions on your website have made that error. I want to see if I can reproduce this issue somewhere other than your website. One guess is that Ocean Extra may have been interrupted due to an incomplete update. Please delete and reinstall it manually through your hosting’s file manager or via FTP. Also, kindly, provide us with your system environment information. To do this, please go to WP Dashboard > Tools > Site Health > Info Tab and click on the button Copy site info to clipboard. You can send the information as code here or upload them to http://pastebin.com/ or https://gist.github.com/ and get an exclusive link: https://i.postimg.cc/fbjtkFyJ/image.png (you can remove your email address from the content). In the meantime, if possible, perform a basic troubleshooting checkup method and make sure the issue is related to our theme or plugin(s). To do this, deactivate all other plugins, then activate them one by one and check for this issue. Continue doing this until you find out what product is causing a conflict with our product. Then provide the details as explained above. Please keep us updated on the outcome. Thank you, I hope it helps. Best Regards This reply was modified 1 year, 7 months ago by Shahin .
Hi Thanks for response- I agree on first BUT its the amount of memory that is being allocated 4294967296 byte ( and sometime a lot more) is 4G which is massive – I have increase memory in php.ini to 4096M and similar in wp-config.php As for the plugin – I have probably uninstalled and re-installed about 10 times already so am sure there is no issue with installing, though I will try disabling the base theme. The error appears to occur when I enable when more than x plugins are enabled – like the memory is running out, but these enable fine when ocean extra is not enabled. I think I have a weird error and on testing probably not a Ocean Extra issue but no idea how to solve. I think the root cause. It is very strange as I installed an extra plugin and it is not working! VERY weird. ` wp-core version: 6.6.2 site_language: en_GB user_language: en_GB timezone: Europe/London permalink: undefined https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true wp-paths-sizes wordpress_path: /homepages/44/d4297173619/htdocs/wordpress wordpress_size: loading… uploads_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/uploads uploads_size: loading… themes_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes themes_size: loading… plugins_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/plugins plugins_size: loading… fonts_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/uploads/fonts fonts_size: loading… database_size: loading… total_size: loading… wp-dropins (1) db.php: true wp-active-theme name: OceanWP Child Theme (oceanwp-child-theme-master) version: 1.0 author: OceanWP author_website: https://oceanwp.org/ parent_theme: OceanWP (oceanwp) theme_features: core-block-patterns, widgets-block-editor, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, menus, post-formats, title-tag, automatic-feed-links, post-thumbnails, custom-header, custom-logo, html5, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, customize-selective-refresh-widgets, widgets theme_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes/oceanwp-child-theme-master auto_update: Disabled wp-parent-theme name: OceanWP (oceanwp) version: 4.0.1 author: OceanWP author_website: https://oceanwp.org/about-oceanwp/ theme_path: /homepages/44/d4297173619/htdocs/wordpress/wp-content/themes/oceanwp auto_update: Disabled wp-themes-inactive (2) Hemingway: version: 2.3.2, author: Anders Norén, Auto-updates disabled Storefront: version: 4.6.0, author: Automattic, Auto-updates disabled wp-mu-plugins (1) WordPress automation by Installatron: author: (undefined), version: (undefined) wp-plugins-active (8) Debug Bar: version: 1.1.6, author: wordpressdotorg, Auto-updates enabled Debug Log Manager: version: 2.3.3, author: Bowo, Auto-updates enabled Ocean Custom Sidebar: version: 1...
Hello @turls2201 , Thank you for reaching out, I’ve tried to conduct extensive checks in various conditions, but unfortunately, I couldn’t find any issues on our side. Can you please let us know how much custom code you have in the child theme? Since you may have many customizations in the child theme on your website, please do the steps below and recheck your issue and let us know the results. Troubleshooting child theme: 1- Remove all customization on the child theme. 2- add your customization one by one to the child theme. 3- After adding each customization code, check your issue Note 1: in the staging website, if you have a cache plugin or server cache. You need to clear its cache contents or disable them. Note 2: Please get a full backup from your website before removing all customization. Note 3: Kindly use the latest version of OceanWP (v4.0.2) and Ocean Extra (v2.4.2) Please keep us posted, Thank you. Best Regards