Title: Marko Hoven's Replies | WordPress.org

---

# Marko Hoven

  [  ](https://wordpress.org/support/users/markohoven/)

 *   [Profile](https://wordpress.org/support/users/markohoven/)
 *   [Topics Started](https://wordpress.org/support/users/markohoven/topics/)
 *   [Replies Created](https://wordpress.org/support/users/markohoven/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/markohoven/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/markohoven/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/markohoven/engagements/)
 *   [Favorites](https://wordpress.org/support/users/markohoven/favorites/)

 Search replies:

## Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Maintenance] update to 4.30 throws an error](https://wordpress.org/support/topic/update-to-4-30-throws-an-error/)
 *  Thread Starter [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 month, 2 weeks ago](https://wordpress.org/support/topic/update-to-4-30-throws-an-error/#post-18947045)
 * This website runs on:
   Serverarchitectuur Linux 5.14.0-570.62.1.el9_6.x86_64 x86_64Webserver
   LiteSpeedPHP versie 8.3.23 (Ondersteunt 64bit waarden)
 * It looks like the server runs an old version/file of the plugin while the update
   has already removed a previously required include file. When I check with ftp,
   the main plugin file has been updated, so it should be okay. Maybe there is some
   sort of file caching on the server?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Tax (formerly WooCommerce Shipping & Tax)] 3.0.6 breaks install](https://wordpress.org/support/topic/3-0-6-breaks-install/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year ago](https://wordpress.org/support/topic/3-0-6-breaks-install/#post-18564394)
 * dito!
 * I rolled back from 3.0.6 to the 3.0.5 version from the overnight backup.
   Activated
   that version and site works again…
 * Now it’s up to Woo to fix!
    -  This reply was modified 1 year ago by [Marko Hoven](https://wordpress.org/support/users/markohoven/).
      Reason: update with 'solution'
    -  This reply was modified 1 year ago by [Marko Hoven](https://wordpress.org/support/users/markohoven/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Attachments] TypeError when permanently deleting a Media Library file](https://wordpress.org/support/topic/typeerror-when-permanently-deleting-a-media-library-file/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/typeerror-when-permanently-deleting-a-media-library-file/#post-18307734)
 * Had the exact same problem today!
   I solved it with:
 *     ```wp-block-code
               // since we have an array for our fields, we need to loop through and sanitize        if ($params['fields']) {            for ($i = 0; $i < count($params['fields']); $i++) {                $params['fields'][ $i ] = sanitize_text_field($params['fields'][ $i ]);            }        }
       ```
   
 * Did it with this check, because there is a similar one at line 129
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/page/2/#post-18104434)
 * Last updates went flawless, so for me all problems have been solved.
   I cannot
   reproduce this either; Only if I would go back to older backups, but there is
   no reason to do so.Thank you!
 * ~
 * These plugins are now up to date: 
   – Ocean Extra (from version 2.4.1 to 2.4.2):
   [https://wordpress.org/plugins/ocean-extra/](https://wordpress.org/plugins/ocean-extra/)
 * These themes are now up to date: 
   – OceanWP (from version 4.0.1 to 4.0.2)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18090215)
 * Just to give you the full timeline of what happened with my websites:
    - 16 October – automatic updates
      These plugins are now up to date:
    - Ocean Extra (from version 2.3.0 to 2.4.0) : [https://wordpress.org/plugins/ocean-extra/](https://wordpress.org/plugins/ocean-extra/)
      
      These themes are now up to date:
    - OceanWP (from version 3.6.1 to 4.0.0)
 * => After this update, Google fonts were no longer visible on the website(s)
   =
   > ‘Enable Google Fonts’ setting was set to ‘disabled’=> Manually enabled the 
   setting ‘Enable Google Fonts’ and Published=> Google fonts were visible again
   on the website(s)
    - 21 October – automatic updates
      These plugins are now up to date:
    - Ocean Extra (from version 2.4.0 to 2.4.1) : [https://wordpress.org/plugins/ocean-extra/](https://wordpress.org/plugins/ocean-extra/)
      
      These themes are now up to date:
    - OceanWP (from version 4.0.0 to 4.0.1)
 * => After this update, Google fonts again were no longer visible on the website(
   s)
   => ‘Enable Google Fonts’ setting was set to ‘disabled’ again=> Manually enabled
   the setting ‘Enable Google Fonts’ and Published=> Google fonts were visible again
   on the website(s)
 * I just hope with the next update the setting will stay ‘enabled’.
   Thank you for
   all your support so far.
 * Marko
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18088268)
 * Hi [@skalanter](https://wordpress.org/support/users/skalanter/),
 * “Works on my computer” …
   Don’t know what I do different, but I did have to enable
   this setting again this morning for 15 different websites…. (yes, I do like OceanWP)
 * ![](https://i0.wp.com/markohoven.com/wp-content/uploads/2024/10/enablegooglefonts.
   png?ssl=1)
 * I do not have ‘Local fonts’ enabled.
   All my updates last night (and this morning)
   were from v4.0.0 to v4.0.1 and v2.4.0 to v2.4.1Hope that helps you in finding
   the problem.
    -  This reply was modified 1 year, 9 months ago by [Marko Hoven](https://wordpress.org/support/users/markohoven/).
      Reason: versions added fyi
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18087788)
 * UPDATE:
   I had one website that did not update yet, so I did that one manually.
   Looks like the update of Ocean Extra did not break the loading of Google fonts,
   but after the update of the theme itself, the setting of “Enable Google Fonts”
   was switched to OFF again. (After my manual fix last week where I had to switch
   them ON for all my websites.)So had to go into customize again and enable it 
   again:
 * Go to **WP Dashboard > Appearance > Customizer > Typography > Google Font Settings**
   and** enable Google Fonts** and **Publish**!
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18087600)
 * Don’t know how you guys ‘corrected’ this, but last night all my websites were
   updated and LOST THEIR GOOGLE FONTS AGAIN!
 * ~
 * These plugins are now up to date:
   – Ocean Extra (from version 2.4.0 to 2.4.1):
   [https://wordpress.org/plugins/ocean-extra/](https://wordpress.org/plugins/ocean-extra/)
 * These themes are now up to date:
   – OceanWP (from version 4.0.0 to 4.0.1)
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18085929)
 * [@skalanter](https://wordpress.org/support/users/skalanter/) Thank you!
   I signed
   up for the newsletter, so hopefully I will get the notifications in the future.
 * Marko
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] Custom font not working with 4.40](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/)
 *  [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/custom-font-not-working-with-4-40/#post-18078581)
 * Same issue!
 * All websites using OceanWP lost their Google fonts after the up-date to version
   4.0.
   I had to manually enable the fonts again!Looks like someone at OceanWP forgot
   to check backwards compatibility.Go to WP Dashboard > Appearance > Customizer
   > Typography > Google Font Settings and enable Google Fonts
 * Also posted here: [https://markohoven.com/2024/10/17/oceanwp-v4-0-loses-google-fonts/](https://markohoven.com/2024/10/17/oceanwp-v4-0-loses-google-fonts/)
    -  This reply was modified 1 year, 9 months ago by [Marko Hoven](https://wordpress.org/support/users/markohoven/).
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [[OceanWP] OceanWP Header background image shows black area!](https://wordpress.org/support/topic/oceanwp-header-background-image-shows-black-area/)
 *  Thread Starter [Marko Hoven](https://wordpress.org/support/users/markohoven/)
 * (@markohoven)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/oceanwp-header-background-image-shows-black-area/#post-17695982)
 * My function was:
 *     ```wp-block-code
       function my_page_header_bg_img($bg_img)
       {
           if (is_singular('post')) {
               $bg_img = '/wp-content/uploads/2023/10/hero2023-08.jpg';
           } else {
               $bg_img = '/wp-content/uploads/2023/10/hero2023-01.jpg';
           }
           return $bg_img;
       }
       add_filter('ocean_page_header_background_image', 'my_page_header_bg_img');
       ```
   
 * But that stopped working, so I had to change it to:
 *     ```wp-block-code
       function my_page_header_bg_img($bg_img)
       {
           if (is_singular('post')) {
               // $bg_img = '/wp-content/uploads/2023/10/hero2023-08.jpg';
               $bg_img = 1169;
           } else {
               // $bg_img = '/wp-content/uploads/2023/10/hero2023-01.jpg';
               $bg_img = 1162;
           }
           return $bg_img;
       }
       add_filter('ocean_page_header_background_image', 'my_page_header_bg_img');
       ```
   

Viewing 11 replies - 1 through 11 (of 11 total)