• Resolved chrisfretzydop

    (@chrisfretzydop)


    After updating the plugin from 2.29.8 to 2.29.17, I get the error below when I hit the live editor button and attempt to edit the page.

    An error of type E_ERROR was caused in line 204 of the file /www/wp-content/plugins/siteorigin-panels/inc/admin-widget-dialog.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /www/wp-content/plugins/siteorigin-panels/inc/admin-widget-dialog.php:204
    Stack trace:
    #0 /www/wp-content/plugins/siteorigin-panels/inc/admin-widget-dialog.php(204): in_array(‘recommended’, ‘theme-widgets’)
    #1 /wordpress/wp-includes/class-wp-hook.php(324): SiteOrigin_Panels_Admin_Widget_Dialog->add_widgets_dialog_tabs(Array)
    #2 /wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #3 /www/wp-content/plugins/siteorigin-panels/inc/admin.php(362): apply_filters(‘siteorigin_pane…’, Array)
    #4 /wordpress/wp-includes/class-wp-hook.php(324): SiteOrigin_Panels_Admin->enqueue_admin_scripts(”)
    #5 /wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array)
    #6 /wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #7 /wordpress/wp-admin/admin-header.php(139): do_action(‘admin_print_scr…’)
    #8 /wordpress/wp-admin/edit-form-advanced.php(425): require_once(‘/wordpress/wp-a…’)
    #9 /wordpress/wp-admin/post.php(206): require(‘/wordpress/wp-a…’)
    #10 {main}
    ? thrown

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi Chris

    Thanks for letting us know about the issue. I’m unable to replicate at the moment but I’ve asked Alex at SiteOrigin to attend as soon as he’s next available. Apologies for the inconvenience.

    Cheers

    Andrew

    Plugin Contributor alexgso

    (@alexgso)

    Hi Chris,

    I’ve investigated this issue and come up with a fix. You can download a patched version of Page Builder by clicking here.

    Before proceeding, do a backup.

    Navigate to Plugins > Installed Plugins and deactivate Page Builder by SiteOrigin, and then delete it. Scroll to the top of the page and click Add New, Upload Plugin. Upload siteorigin-panels.2.29.18-beta.zip and when prompted, activate it. The TypeError will no longer occur.

    Kind regards,
    Alex

    Thread Starter chrisfretzydop

    (@chrisfretzydop)

    Thank you Alex! That fixed the issue.

    Chris

    Plugin Contributor alexgso

    (@alexgso)

    Hi Chris,

    It’s great to hear that helped. Please feel free to open a new thread if anything else comes up. Thanks mate.

    Kind regards,
    Alex

    Please help

    Error Details
    =============
    An error of type E_ERROR was caused in line 230 of the file /homepages/2/d552729496/htdocs/wp-content/themes/consulting-Theme/admin/includes/envato-market/inc/github.php. Error message: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, string given in /homepages/2/d552729496/htdocs/wp-content/themes/consulting-Theme/admin/includes/envato-market/inc/github.php:230
    Stack trace:
    #0 /homepages/2/d552729496/htdocs/wp-content/themes/consulting-Theme/admin/includes/envato-market/inc/github.php(230): in_array()
    #1 /homepages/2/d552729496/htdocs/wp-content/themes/consulting-Theme/admin/includes/envato-market/inc/github.php(255): Envato_Market_Github->state()
    #2 /homepages/2/d552729496/htdocs/wp-includes/class-wp-hook.php(310): Envato_Market_Github->update_state()
    #3 /homepages/2/d552729496/htdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters()
    #4 /homepages/2/d552729496/htdocs/wp-includes/option.php(1986): apply_filters()
    #5 /homepages/2/d552729496/htdocs/wp-includes/update.php(901): get_site_transient()
    #6 /homepages/2/d552729496/htdocs/wp-admin/menu.php(33): wp_get_update_data()
    #7 /homepages/2/d552729496/htdocs/wp-admin/admin.php(158): require(‘/homepages/2/d5…’)
    #8 /homepages/2/d552729496/htdocs/wp-admin/index.php(10): require_once(‘/homepages/2/d5…’)
    #9 {main}
    ? thrown

    I cannot access my admin dashboard to update plugin, I am able to enter recovery mode but i can’t do anything there, nothing works.

    Plugin Contributor alexgso

    (@alexgso)

    Hi King,

    Thanks for reaching out. Unfortunately, the issue you’re facing is unrelated to our plugin and is instead related to your theme. It’s not clear who the developer of your theme is based on the theme name, but it’s a theme you purchased from ThemeForest so you should be able to track them down there.

    Recovery mode normally allows you to deactivate a theme. Does it fail to deactivate when you attempt to? If so, I recommend reaching out to your hosting proider to ask them to remove the theme. That’ll allow WordPress to leave recovery mode. Best of luck with resolving the issue you’re facing, and I’m sorry it happened.

    Kind regards,
    Alex

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