Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter ac2agency

    (@ac2agency)

    Hi Takayuki
    I have deleted all themes, except for
    1 my personalized theme,
    2 the Cudazi theme (which my theme is based on), and
    3 Twenty-Twenty One by WordPress.

    The plugins are the following:
    Advanced Editor Tools (previously TinyMCE Advanced)
    Akismet Anti-Spam
    Attachments
    Classic Editor
    Contact Form 7
    Cudazi Footer Thumbnail Widget
    Disable REST API
    Facebook for WordPress
    Facebook Like Social Widget
    Fix for Yoast SEO and qTranslate
    GDPR Cookie Consent
    Google Analyticator
    Health Check & Troubleshooting
    Imsanity
    Insert Headers and Footers
    Integration: Yoast SEO & qTranslate-X
    Jetpack by WordPress.com
    Latest Custom Post Type Updates
    qText X Widget
    qTranslate-X
    Really Simple SSL
    Regenerate Thumbnails
    Sassy Social Share
    UpdraftPlus – Backup/Ripristino
    WP Crontrol
    Yoast SEO

    thanks in advance for your help.

    Same here. Stuck on Send forever.

    Thread Starter ac2agency

    (@ac2agency)

    We corrected it, but now we get two errors

    Warning: Illegal string offset ‘hide_thumbnail_on_single’ in /htdocs/public/www/wp-content/themes/ac2-theme/header.php on line 12 Warning: Illegal string offset ‘columns’ in /htdocs/public/www/wp-content/themes/ac2-theme/header.php on line 14

    and

    Warning: Illegal string offset ‘hide_thumbnail_on_single’ in /htdocs/public/www/wp-content/themes/ac2-theme/header.php on line 16 Warning: Illegal string offset ‘columns’ in /htdocs/public/www/wp-content/themes/ac2-theme/header.php on line 20

    I pasted the index php file here <https://pastebin.com/9XcMDMEW&gt;

    Thanks in advance!

    Thread Starter ac2agency

    (@ac2agency)

    This second file proves that the error is in line 6 and 8 of the first file
    ie. the following highlighted in bold font

    if(is_single() || is_page()) { $post_or_page_id = $post->ID; }
    $data = get_post_meta($post_or_page_id, “custom_meta_values”, true);
    if($data[“hide_thumbnail_on_single”])
    $custom_settings[“layout”][“hide_thumbnail_on_single”] = $data[“hide_thumbnail_on_single”];
    if($data[“columns”])
    $custom_settings[“layout”][“columns”] = $data[“columns”];

    but I don’t know I to solve this since I have not coded this and my web designer is no longer a web designer and unavailable

    Thread Starter ac2agency

    (@ac2agency)

    try this instead?
    https://pastebin.com/EnA5R6d3
    thanks a million

    Thread Starter ac2agency

    (@ac2agency)

    can you see this? Click on the underlined text

    thanks for your answer
    best

Viewing 6 replies - 1 through 6 (of 6 total)