• Resolved ylimehere

    (@ylimehere)


    Receiving an error with Connections Business Directory Template – Circled, used with Elementor editor.

    Debug:

    Uncaught TypeError: Unsupported operand types: string + int in /home1/foodfor4/public_html/wp-content/plugins/connections-circled/card.php:8
    Stack trace:
    #0 /home1/foodfor4/public_html/wp-content/plugins/connections/includes/template/class.template.php(216): include()
    #1 /home1/foodfor4/public_html/wp-includes/class-wp-hook.php(308): cnTemplate->{closure}(Object(cnEntry_vCard), Object(cnTemplate), Array)
    #2 /home1/foodfor4/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array)
    #3 /home1/foodfor4/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #4 /home1/foodfor4/public_html/wp-content/plugins/connections/includes/template/class.template-parts.php(783): do_action('cn_template-cir...', Object(cnEntry_vCard), Object(cnTemplate), Array)
    #5 /home1/foodfor4/public_html/wp-content/plugins/connections/includes/template/class.template-parts.php(579): cnTemplatePart::cards(Array, Array, Object(cnTemplate))
    #6 /home1/foodfor4/public_html/wp-content/plugins/connections/includes/shortcode/class.shortcode-connections.php(220): cnTemplatePart::body(Array, Array, Object(cnTemplate))
    #7 /home1/foodfor4/public_html/wp-content/plugins/connections/includes/shortcode/class.shortcode.php(742): cnShortcode_Connections::shortcode(Array, false)
    #8 /home1/foodfor4/public_html/wp-includes/shortcodes.php(355): cnShortcode::view(Array, '', 'connections')
    #9 [internal function]: do_shortcode_tag(Array)
    #10 /home1/foodfor4/public_html/wp-includes/shortcodes.php(227): preg_replace_callback('/\\[(\\[?)(connec...', 'do_shortcode_ta...', '
    OUR TEAMOUR TEAMapply_filters('
    OUR TEAMOUR TEAMprint_callback()
    #16 /home1/foodfor4/public_html/wp-content/plugins/elementor/modules/page-templates/module.php(207): call_user_func(Array)
    #17 /home1/foodfor4/public_html/wp-content/plugins/elementor/modules/page-templates/templates/header-footer.php(19): Elementor\Modules\PageTemplates\Module->print_content()
    #18 /home1/foodfor4/public_html/wp-includes/template-loader.php(106): include('/home1/foodfor4...')
    #19 /home1/foodfor4/public_html/wp-blog-header.php(19): require_once('/home1/foodfor4...')
    #20 /home1/foodfor4/public_html/index.php(17): require('/home1/foodfor4...')
    #21 {main}
      thrown

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Steven

    (@shazahm1hotmailcom)

    Sorry for the trouble!

    Good news! This is not a compatibility issue with Elementor.

    To resolve this, you should disable developer-related notices from PHP. Here’s a link to a FAQ:

    I hope this helps; please let me know.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    Followup…

    If you are using the image_width shortcode option for the template, please remove it for now to remove this PHP notice. I’ll push an update to the template that will remove this notice.

    Again, apologies for the trouble!

    Thread Starter ylimehere

    (@ylimehere)

    Thanks, just a note, I had purposely checked out the error messages to help troubleshoot why Elementor wasn’t loading.

    But your second response was spot on, I removed the image_width shortcode and it seems to be loading fine now. I do want to set my images are 200px and not 100px though, so how would you recommend I do that if I don’t use the shortcode? Is there a way to oveerride via CSS or edit the templates? I’ve inherited managing this site from someone else, and am picking my way through the issues/plugins etc.

    Thank you, appreciate it.

    Plugin Author Steven

    (@shazahm1hotmailcom)

    just an fyi… I just released an update to the template that should resolve this. Version 1.4.1. I hope this helps; please let me know.

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

The topic ‘Compatability with Elementor’ is closed to new replies.