HELP! Broken web
-
If you go to https://www.biologueando.com you’ll see that the design is broken (I only experience it in private navigation).
I recieved a mail by WP with this error:
An error of the type E_ERROR in line 1066 of file /home/customer/www/biologueando.com/public_html/wp-content/themes/oceanwp/functions.php. Error message: Cannot redeclare alter_author_link() (previously declared in /home/customer/www/biologueando.com/public_html/wp-content/themes/oceanwp-child-theme-master/functions.php:33)
What I did before this error:1. I installed OCEANWP Child to change the author link of the author box. Edited functions.php of the child theme with
add_filter( 'author_link', 'alter_author_link', 10, 1 ); function alter_author_link( $link ) { $link = 'https://my-link/'; return $link; }
2. It didn’t worked. I edited functions.php of OCEANWP with the same code, at the end of the file. It worked.
3. I Uninstalled child theme and 21 wordpress default theme.
Today I saw THE HORROR. I also had a mail by wordpress telling me my web had technical issues.
1. I edited functions.php of OCEANWP to the original (I think: this is what i Have at the end of the file:
// Init Freemius. owp_fs(); // Signal that SDK was initiated. do_action( 'owp_fs_loaded' ); } } #endregion new OCEANWP_Theme_Class();
2. It didn’t worked, so I re-installed the child theme with the added code.
Still not working. I don’t know what I’ve broken but my website is awful right now.
What Can I do? Some help will be appreciated. Thanks
The page I need help with: [log in to see the link]
- The topic ‘HELP! Broken web’ is closed to new replies.