This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Can't set Priorities #20198
    peik_cmpeik_cm
    Participant

    Managed to fix the issue by removing these lines:

    <?php foreach($blogs as $blog): ?>
    <?php $blog_details = get_blog_details($blog->blog_id); ?>
    <option value=”<?php echo $blog[‘blog_id’] ?>”><?php echo $blog_details->blogname; ?></option>
    <?php endforeach; ?>

    Now the priorities can be set. This site has a bit special multisite setup so maybe that was causing the issue.

    in reply to: Can't set Priorities #20197
    peik_cmpeik_cm
    Participant

    Hey,

    Now the error message has changed:

    <b>Fatal error</b>: Uncaught Error: Cannot use object of type WP_Site as array in /var/www/html/wp-content/plugins/ajax-search-pro/backend/tabs/priorities/priorities_individual.php:13
    Stack trace:
    #0 /var/www/html/wp-content/plugins/ajax-search-pro/backend/priorities.php(69): include()
    #1 /var/www/html/wp-content/plugins/ajax-search-pro/includes/classes/core/class-asp-menu.php(147): include(‘/var/www/html/w…’)
    #2 /var/www/html/wp-includes/class-wp-hook.php(298): WD_ASP_Menu::route(”)
    #3 /var/www/html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
    #4 /var/www/html/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
    #5 /var/www/html/wp-admin/admin.php(222): do_action(‘ajax-search-pro…’)
    #6 {main}
    thrown in <b>/var/www/html/wp-content/plugins/ajax-search-pro/backend/tabs/priorities/priorities_individual.php</b> on line <b>13</b><br />

Viewing 2 posts - 1 through 2 (of 2 total)