• I have been asked to solve an issue on a site of a friend. The page displays fine on desktop, but on mobile the Ocean extra plugin seems to cause an error. Here’s what shows:

    Fatal error: Uncaught Error: Call to undefined function oceanwp_post_id() in /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/plugins/ocean-extra/includes/post-settings/apply-settings.php:183 Stack trace: #0 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/class-wp-hook.php(324): OceanWP_Post_Settings_Output->load_fonts('') #1 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #2 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #3 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/script-loader.php(2262): do_action('wp_enqueue_scri...') #4 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/class-wp-hook.php(324): wp_enqueue_scripts('') #5 /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #6 /home/customer/www/raumfuerent in /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/plugins/ocean-extra/includes/post-settings/apply-settings.php on line 183

    When I disable the extra plugin, the mobile version displays fine. The content of line 183 in that php file is

    	$menu_typo_font = oceanwp_post_id() ? get_post_meta( oceanwp_post_id(), 'ocean_menu_typo_font_family', true ) : '';

    So it seems to be an issue with a font. But the font settings in the theme customizer don’t make any difference. I’m not a PHP expert so I’d be glad to get some help.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @frieauffcom,

    Thank you for reaching out,

    I fully examined the issue you have raised on this topic and could not see it on my end. How can we replicate your steps to arrive at the issue on a fresh WordPress installation?

    Also, please 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 https://pastebin.com/ and get an exclusive link: https://i.postimg.cc/fbjtkFyJ/image.png (you can remove your email address from the content).

    Please recheck your issue and keep us posted.

    I hope it helps.
    Best Regards

    Thread Starter frieauffcom

    (@frieauffcom)

    Sorry, I had deactivated the plugin to keep the site running. Let me enable it again quickly and you should see issues when chosing pages from the mobile menu (esp. “Impressum”).

    Here’s the site report:

    `
    ### wp-core ###
    
    version: 6.4.3
    site_language: de_DE
    user_language: de_DE
    timezone: +00:00
    permalink: /%postname%/
    https_status: true
    multisite: false
    user_registration: 0
    blog_public: 1
    default_comment_status: undefined
    environment_type: production
    user_count: 1
    dotorg_communication: true
    
    ### wp-paths-sizes ###
    
    wordpress_path: /home/customer/www/raumfuerentwicklung-krey.de/public_html
    wordpress_size: 130,46 MB (136797123 bytes)
    uploads_path: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/uploads
    uploads_size: 212,47 MB (222789132 bytes)
    themes_path: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/themes
    themes_size: 69,75 MB (73134960 bytes)
    plugins_path: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/plugins
    plugins_size: 112,32 MB (117779186 bytes)
    database_size: 4,55 MB (4767744 bytes)
    total_size: 529,54 MB (555268145 bytes)
    
    ### wp-dropins (1) ###
    
    advanced-cache.php: true
    
    ### wp-active-theme ###
    
    name: OceanWP (oceanwp)
    version: 3.5.5
    author: OceanWP
    author_website: https://oceanwp.org/about-oceanwp/
    parent_theme: none
    theme_features: core-block-patterns, menus, widgets-block-editor, post-thumbnails, align-wide, wp-block-styles, responsive-embeds, editor-styles, editor-style, post-formats, title-tag, automatic-feed-links, 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: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/themes/oceanwp
    auto_update: Aktiviert
    
    ### wp-themes-inactive (9) ###
    
    Astra: version: 4.6.9, author: Brainstorm Force (latest version: 4.6.10), Automatische Aktualisierungen deaktiviert
    GeneratePress: version: 3.4.0, author: Tom Usborne, Automatische Aktualisierungen deaktiviert
    Neve: version: 3.8.5, author: ThemeIsle, Automatische Aktualisierungen deaktiviert
    Twenty Nineteen: version: 2.7, author: Das WordPress-Team (latest version: 2.8), Automatische Aktualisierungen deaktiviert
    Twenty Twenty: version: 2.5, author: Das WordPress-Team (latest version: 2.6), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-Four: version: 1.0, author: Das WordPress-Team (latest version: 1.1), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-One: version: 2.1, author: Das WordPress-Team (latest version: 2.2), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-Three: version: 1.0, author: Das WordPress-Team (latest version: 1.4), Automatische Aktualisierungen deaktiviert
    Twenty Twenty-Two: version: 1.0, author: WordPress-Team (latest version: 1.7), Automatische Aktualisierungen deaktiviert
    
    ### wp-plugins-active (14) ###
    
    Ninja Forms: version: 3.8.2, author: Saturday Drive, Automatische Aktualisierungen aktiviert
    Ocean Extra: version: 2.2.6, author: OceanWP, Automatische Aktualisierungen deaktiviert
    Otter – Page Builder Blocks & Extensions for Gutenberg: version: 2.6.6, author: ThemeIsle, Automatische Aktualisierungen aktiviert
    Security Optimizer: version: 1.4.13, author: SiteGround, Automatische Aktualisierungen deaktiviert
    Simple Full Screen Background Image: version: 1.2.10, author: AMP-MODE, Automatische Aktualisierungen aktiviert
    SiteGround Central: version: 3.0.2, author: SiteGround, Automatische Aktualisierungen aktiviert
    Speed Optimizer: version: 7.5.0, author: SiteGround, Automatische Aktualisierungen deaktiviert
    Unsplash: version: 1.0.1, author: Unsplash, Automatische Aktualisierungen deaktiviert
    Widget Options: version: 4.0.5.1, author: Widget Options Team, Automatische Aktualisierungen deaktiviert
    WordPress Importer: version: 0.8.2, author: wordpressdotorg, Automatische Aktualisierungen deaktiviert
    WP-Sweep: version: 1.1.8, author: Lester 'GaMerZ' Chan, Automatische Aktualisierungen deaktiviert
    WPForms Lite: version: 1.8.7.2, author: WPForms, Automatische Aktualisierungen deaktiviert
    WPtouch Mobile Plugin: version: 4.3.56, author: WPtouch, Automatische Aktualisierungen deaktiviert
    Yoast SEO: version: 22.4, author: Team Yoast, Automatische Aktualisierungen aktiviert
    
    ### wp-media ###
    
    image_editor: WP_Image_Editor_GD
    imagick_module_version: Nicht verfügbar
    imagemagick_version: Nicht verfügbar
    imagick_version: Nicht verfügbar
    file_uploads: 1
    post_max_size: 256M
    upload_max_filesize: 256M
    max_effective_size: 256 MB
    max_file_uploads: 20
    gd_version: 2.3.3
    gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
    ghostscript_version: 10.02.1
    
    ### wp-server ###
    
    server_architecture: Linux 6.6.21-MCIclouder470 x86_64
    httpd_software: Apache
    php_version: 7.4.33 64bit
    php_sapi: cgi-fcgi
    max_input_variables: 3000
    time_limit: 120
    memory_limit: 768M
    max_input_time: 120
    upload_max_filesize: 256M
    php_post_max_size: 256M
    curl_version: 8.2.1 OpenSSL/3.1.1
    suhosin: false
    imagick_availability: false
    pretty_permalinks: true
    htaccess_extra_rules: true
    current: 2024-04-03T14:29:49+00:00
    utc-time: Wednesday, 03-Apr-24 14:29:49 UTC
    server-time: 2024-04-03T14:29:48+00:00
    
    ### wp-database ###
    
    extension: mysqli
    server_version: 5.7.44-48-log
    client_version: mysqlnd 7.4.33
    max_allowed_packet: 33554432
    max_connections: 500
    
    ### wp-constants ###
    
    WP_HOME: undefined
    WP_SITEURL: undefined
    WP_CONTENT_DIR: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content
    WP_PLUGIN_DIR: /home/customer/www/raumfuerentwicklung-krey.de/public_html/wp-content/plugins
    WP_MEMORY_LIMIT: 256M
    WP_MAX_MEMORY_LIMIT: 768M
    WP_DEBUG: false
    WP_DEBUG_DISPLAY: true
    WP_DEBUG_LOG: false
    SCRIPT_DEBUG: false
    WP_CACHE: true
    CONCATENATE_SCRIPTS: undefined
    COMPRESS_SCRIPTS: undefined
    COMPRESS_CSS: undefined
    WP_ENVIRONMENT_TYPE: Nicht definiert
    WP_DEVELOPMENT_MODE: undefined
    DB_CHARSET: utf8
    DB_COLLATE: undefined
    
    ### wp-filesystem ###
    
    wordpress: writable
    wp-content: writable
    uploads: writable
    plugins: writable
    themes: writable
    
    ### wpforms ###
    
    version: 1.8.7.2
    lite: 2. Januar 2022 um 3:52 pm?Uhr
    upload_dir: Beschreibbar
    total_forms: 1
    total_submissions: 54
    
    `

    Hello @frieauffcom,
    Thanks for your feedback.

    This topic has been forwarded to the developer team, and we’ll get back to you with the information once it is available.

    Thank you for using OceanWP, and I appreciate your patience.
    Best Regards

    Thread Starter frieauffcom

    (@frieauffcom)

    Thanks. For the time being I’ll disable the plugin again so the site displays fine on mobile as well. If you need it activated again for further tests, let me know!

    Hello @frieauffcom,

    Thank you for waiting.
    We’ve made some changes regarding the issue on this topic and the dev version is available now, and you can update it manually. To update Ocean Extra plugin, first, please download the zip files at this URL: https://drive.google.com/file/d/1PGT0-b3rKgy8vIOz4X-KjpvD6MQS3hEb/view?usp=sharing.

    Then do the steps below:
    0. First, download the plugin(dev version).
    1. Head over to WP Dashboard > Plugins > Add New.
    2. Click on the “Upload Plugin” button.
    3. Choose the plugin and click on the install now button.
    4. Next, click on the “Replace current with uploaded” button.

    Note 1: Before updating, please get a full backup from your website.

    Note 2: If you have a cache plugin, server/CDN, or LiteSpeed cache, you need to clear its cache contents or disable them to see your changes.
    ?
    Please keep us posted on the result,
    Also, let me know if you have any questions about the above steps.
    Best Regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘error w/ Ocean-extra plugin’ is closed to new replies.