Home Forums Weaver Xtreme Theme Coding errors after migration from one host to another

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #64403

    I did a migration of a subsite from one host (on a multisite) to another host WP single install and some elements didn’t come over smoothly to the new host. One element was the header image. When I tried to use the Customizer to add a new header image, I got the following error. It’s not allowing an upload from my computer for the header upload.
    <h1>Error thrown</h1>
    Call to undefined function weaverx_use_inline_css()

    FYI: the multisite was set up with the xtreme plus. I then tried to add the header image through the CSS, but I didn’t get that right either. Here is what I added in the Custom CSS box:

    header img {
    background-image: url(“http://kspaulsen.com/wp-content/uploads/2020/04/Monterey-Sunset-Banner.jpg&#8221;);



    Many things wrong with the CSS, but before mentioning that, I would want to get whatever is causing the error fixed, as who knows whatever perverse effects it is having.

    may be able to offer a clue as why you are getting that error.

    As for the CSS, adding a background image to an image would not do anything as if the image is actually there it would be over, and if the image is not there (what your post is implying), there is nothing to apply it to.

    There is also a double quote that is invalid and the Image URL does not look right

    You could add a background image to the header area with the rule below, but would probably need to force a height on it to as if the header is empty the background will not show

    #header {background-image: url(ImageLibraryURLoftheImage);}


    I have no idea how that could be happening. That function is definitely loaded when the theme’s functions.php is loaded, and that is always.

    You don’t have a child theme by any chance?

    You aren’t using older versions of Weaver Xtreme or Weaver Xtreme Plus?



    After checking that you have the latest versions of everything, you may want to save your settings and download a backup copy, then switch to a different theme, delete all weaver theme and plugins, then reinstall clean version from WordPress and from a new download for Plus.


Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.