The problem with the Ocean Extra plugin

Last updated December 6th, 2023 06:30

If you use the Ocean Extra plugin on WordPress, or use it together with the OceanWP template, you have likely encountered an issue with the Ocean Extra plugin after the latest update. So take a look, how the problem with the Ocean Extra plugin could be fixed.  After update plugin displays the following error:

Fatal error: Cannot redeclare oceanwp_webfonts_enqueue() (previously declared in /wp-content/themes/oceanwp/inc/customizer/controls/typography/webfonts.php:128) in /wp-content/plugins/ocean-extra/includes/compatibility/ocean.php on line 94

How to solve the problem with the Ocean Extra plugin?

This is an error on the part of the plugin developer and can be resolved in the following way.

First, you need to download the new versions of both the template and the plugin, which are available in the official WordPress repository.

template: https://cs.wordpress.org/themes/oceanwp/
plugin: https://wordpress.org/plugins/ocean-extra/

To manually update both the template and plugin, you need to use FTP. This ensures that you are using the latest versions for both the template and plugin.

Problem with missing file after update

After this update, you may encounter another error where PHP cannot find the file /wp-content/plugins/ocean-extra/includes/freemius/includes/sdk/Exceptions/Exception.php. This error is likely to occur only on a Linux web server, as it is again a developer error. This time, the problem is with the case sensitivity (which is usually only an issue on Linux, which distinguishes between lowercase and uppercase letters).

The problem arises because the source code of one of the scripts uses the path to the file /Exceptions/Exception.php. However, the folder and file are actually named with a lowercase “e” at the beginning. If you rename the file and folder to use an uppercase “E”, the problem will be resolved.

Source code path: /wp-content/plugins/ocean-extra/includes/freemius/includes/sdk/Exceptions/Exception.php

Real path on FTP: /wp-content/plugins/ocean-extra/includes/freemius/includes/sdk/exceptions/exception.php

More content about WordPress

Whole category is here

The website is created with care for the included information. I strive to provide high-quality and useful content that helps or inspires others. If you are satisfied with my work and would like to support me, you can do so through simple options.

Byl pro Vás tento článek užitečný?

Klikni na počet hvězd pro hlasování.

Průměrné hodnocení. 0 / 5. Počet hlasování: 0

Zatím nehodnoceno! Buďte první

Jak užitečný vidíte tento článek.

Sledujte mě na sociálních médiích.

Je mi líto, že pro Vás nebyl článek užitečný.

Jak mohu vylepšit článek?

Řekněte mi, jak jej mohu zlepšit.

newsletter

Subscribe to the Newsletter

Stay informed! Join our newsletter subscription and be the first to receive the latest information directly to your email inbox. Follow updates, exclusive events, and inspiring content, all delivered straight to your email.

Odebírat
Upozornit na
guest
0 Komentáře/ů
Nejstarší
Nejnovější Nejvíce hlasováno
Vložené zpětné vazby.
Zobrazit všechny komentáře.

Pokud mi chcete napsat rychlou zprávu, využije, prosím, níže uvedený
kontaktní formulář. Děkuji.

Další Kontaktní údaje