• Hi Guys,

    i have a problem, i bought a template on template monster which is working with cherry framework.

    the template i bought is this:
    https://www.templatemonster.com/wordpress-themes/51986.html

    I installed it and imported the demo data, i didn’t do anything else.
    and it shows me on the top of the page:

    warning: illegal string offset ‘width’ in /homepages/xxxx/wp-content/themes/theme51986/cherry-media-parallax/statix/static-parallax-video.php on line 73

    warning: illegal string offset ‘height’ in /homepages/xxxx/wp-content/themes/theme51986/cherry-media-parallax/statix/static-parallax-video.php on line 73

    i don’t know what to do…

    i hope somebody can help me.

    im using php 5.5, i already changed the versions to 5.4 and 5.6 but nothing changed.

    the code on this lines is the following:

    $sourcesUrlList[$key][‘url’] = $attachment_url;
    $sourcesUrlList[$key][‘width’] = $attachment_meta[‘width’];
    $sourcesUrlList[$key][‘height’] = $attachment_meta[‘height’];
    $sourcesCheck[$key] = ‘true’;
    }
    }

    hope somebody can help me

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator t-p

    (@t-p)

    – your theme (“theme51986”)seems to be the issue.

    – try switching to the unedited default Twenty Fifteen Theme for a moment using the WP dashboard to rule out any theme-specific issue (theme functions can interfere like plugins). When you don’t have access to your admin area, use FTP or SFTP or whatever file management application your host provides. Navigate to /wp-content/themes/ and switch to the default theme by renaming your current theme’s folder by adding “-old” to the end of the folder name via FTP or SFTP or whatever file management application your host provides.

    Talha Ch

    (@talhach)

    Installing template monster template is a tricky one. They provide you with two .zip in package. One of which is theme and the other one is cherryFramework.
    If you upload theme.zip it’ll say it’s parent theme not found etc!
    So upload cherryFramework.zip first (don’t activate it) then upload theme.zip and activate it. You’ll see it’ll work just fine!

    I don’t think that’s it.

    For me it was when adding in the video background stuff (look at the [cherry_media_parallax typemedia=”video_html”…. part)

    Video’s won’t have width and height values (not in the same way that images do at least).

    So instead of the plugin receiving something like ‘960’ for the width value, there is probably “null” or perhaps nothing at all.

    I just commented those lines out and it seems ok.

    Not sure how it will effect normal images tho.

    No updates to the plug in at this date (still at version 1.0)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Warning: Illegal String Offset 'Width' in /Homepage…./themes’ is closed to new replies.