• Resolved jithin1111

    (@jithin1111)


    I created a website using oceanwp theme.
    Unfortunately, my website is not working on mobile devices.they’re working finely on laptop. When opened in mobile devices,this shows up

    Fatal error: Call to undefined function oceanwp_post_id() in /home4/u1517ppq/public_html/ayurmysticwellness.com/wp-content/plugins/ocean-extra/includes/metabox/metabox.php on line 1857

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

Viewing 15 replies - 1 through 15 (of 29 total)
  • Theme Author oceanwp

    (@oceanwp)

    Hello, this function is present in the theme, do you use a child theme? Is everything up to date?

    Hi, I’ve got the same error on mobile, can you help me please?
    Thanks!
    Fatal error: Call to undefined function oceanwp_post_id() in /membri/csmooth/wp-content/plugins/ocean-extra/includes/metabox/metabox.php on line 1857

    Theme Author oceanwp

    (@oceanwp)

    Hello @stefanocabello, have you tried to-upload Ocean Extra? What is your PHP version?

    Hi,Ocean Extra it’s already installed and PHP version is 5.6

    Theme Author oceanwp

    (@oceanwp)

    Hi, can you upgrade your PHP version to PHP 7 and tell me if it solves the issue? In any case, I strongly recommend you to use the latest PHP version to have a faster and secure site.

    I will do it and I will let you know.
    Thanks again for your help.

    Theme Author oceanwp

    (@oceanwp)

    Okay.

    Fatal error: Uncaught Error: Call to undefined function oceanwp_post_id() in /home/s2191d06/public_html/privanza.com.co/wp-content/plugins/ocean-extra/includes/metabox/metabox.php:1857 Stack trace: #0 /home/s2191d06/public_html/privanza.com.co/wp-includes/class-wp-hook.php(288): OceanWP_Post_Metabox->body_class(Array) #1 /home/s2191d06/public_html/privanza.com.co/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #2 /home/s2191d06/public_html/privanza.com.co/wp-includes/post-template.php(770): apply_filters(‘body_class’, Array, Array) #3 /home/s2191d06/public_html/privanza.com.co/wp-includes/post-template.php(557): get_body_class(Array) #4 /home/s2191d06/public_html/privanza.com.co/wp-includes/theme-compat/header.php(48): body_class() #5 /home/s2191d06/public_html/privanza.com.co/wp-includes/template.php(688): require_once(‘/home/s2191d06/…’) #6 /home/s2191d06/public_html/privanza.com.co/wp-includes/template.php(647): load_template(‘/home/s2191d06/…’, true) #7 /home/s2191d06/public_html/privanza.com.co/ in /home/s2191d06/public_html/privanza.com.co/wp-content/plugins/ocean-extra/includes/metabox/metabox.php on line 1857

    I have the same issue (jollyorangephotography.com). I have PHP 7.2 and all the items enabled on the scripts & styles page (I saw a different thread saying this helped others but it did not help me).

    Theme Author oceanwp

    (@oceanwp)

    Hello, have you tried to re-install Ocean Extra? Because this function is present in OceanWP so you should not have this issue.

    Hi, I have an account on altervista.org and on it they have in the dashboard a menu voice that is “Mobile” I disabled it and I can display right on mobile device.
    If it is enable fatal error occured.
    If you want I can let you in in my altervista.org account.

    Best regards

    Stefano

    I have another question for you… I woud like to have Booking.com on Header/Menu social… How can I do?

    Thanks again.

    Theme Author oceanwp

    (@oceanwp)

    Hi,your code is ok and is working but the icon is not show, can you please tell me where the icons are located… I have to get the icons (Airbnb & Booking.com) and then put them somewhere? You are very kind… help me please! Thanks!

    Best regards

    Theme Author oceanwp

    (@oceanwp)

    Hi, the icons need to be font awesome icons: https://fontawesome.com/v4.7.0/icons/

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘Not working in mobile divices’ is closed to new replies.