function bosa_excerpt declared
-
My website could not be loaded. I activated the logging and got the following error
Deprecated: Optional parameter $new_length declared before required parameter $more_text is implicitly treated as a required parameter in /var/www/vhosts/mms-hochzeit.ch/httpdocs/wp-content/themes/bosa/functions.php on line 415
I changed the variables so $echo and $more_text are before the variable $new_length. This helped me for this error. Now I got another error
Deprecated: Creation of dynamic property Bosa_Notice_Handler::$theme_name is deprecated in?/var/www/vhosts/mms-hochzeit.ch/httpdocs/wp-content/themes/bosa/inc/getting-started/getting-started.php?on line?45
I changed the Line from $this theme_name = exc_attr ( $theme->get(‘Name’ ) ); to $theme_name = esc_attr ( $theme->get( ‘Name’ ) ); so the error is now solved.
My original problem that my website isn’t displayed correctly is still present.
Can you help me fix this problem?
The page I need help with: [log in to see the link]
- The topic ‘function bosa_excerpt declared’ is closed to new replies.