• Resolved mrppp

    (@mrppp)


    When updating to 4.4 on test site, all my events disappear from calendar and on listing page or when viewing the event from settings/events i get
    Warning: array_map(): Argument #2 should be an array in C:\xampp\htdocs\xxxxxxx\wp-includes\category-template.php on line 1158

    is this a WP issue or events manager?
    https://www.awesomescreenshot.com/image/763605/311d50157bdb1ba854bb26b8cfe4913f

    https://www.ads-software.com/plugins/events-manager/

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter mrppp

    (@mrppp)

    WP 4.4 bug report says
    “Hard to tell. Have you informed the developers of that plugin? They should
    test it against 4.4, especially when they would be using term meta stuff.

    That line belongs to get_the_terms(). At first glance it looks like
    either the return value of get_object_term_cache()` or
    wp_get_object_terms() isn’t properly checked.

    Especially wp_get_object_terms() can return a WP_Error when the
    taxonomy does not exist. wp_get_object_terms() should account for that
    scenario.`

    Do you still get this with all other plugins deactivated and when running the default WordPress theme?

    Thread Starter mrppp

    (@mrppp)

    hi,yes i do, all plugins deactivated and tested with Twenty Thirteen theme

    Ok, thanks. I’ll pass this on to the Dev team as they continue to get ready for 4.4.

    Thread Starter mrppp

    (@mrppp)

    Any update on this before WP 4.4 gets launched officially

    If needed, a new version of Events Manager will be released before version 4.4 of WordPress is released.

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Hi, I’ve managed to reproduce the issue, and this isn’t due to the upcoming changes to taxonomies. This is caused by calling for event tags or categories in some way when you don’t have them enabled.

    Example, disable event tags in Settings > General > General Options and then add #_EVENTTAGS to your event list format or use it like so [events_list]#_EVENTTAGS[/events_list]

    The bug report response you included here was helpful!

    Thread Starter mrppp

    (@mrppp)

    Why does it only happen on WP 4.4 not previous (current live) version?
    Do you mean add in box Event Attributes
    disable event tags is already set to no

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    My guess would be changes to the codeset which now throws an error, whereas previously it didn’t.

    Given they’re unnecessary, can you not remove the placeholders calling tag information from your formats? The error message should go away. The other way as a quick test, try enabling tags and/or categories temporarily. Let me know if that helps, otherwise could take another look.

    Thread Starter mrppp

    (@mrppp)

    Setting Enable event attributes? to no still gives same issue when looking at event list page the attributes i have in Event Attributes are not visible in list view only single event view and Enable tags? is set to no

    Enable event attributes? is the only setting i had set to yes

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    Try setting “Enable Tags” to Yes

    Thread Starter mrppp

    (@mrppp)

    OK setting Enable categories? to YES fixes it. with Enable tags? set to NO

    Will that have any other implications if never set that way before?

    I guess in WP seo set Event Categories (event-categories) to no for sitemaps?

    I guess change thois on live sites before updating to WP 4.4 when released

    Plugin Author Marcus (aka @msykes)

    (@netweblogic)

    In that case, you have a tag specific to categories in your formats somewhere, such as #_EVENTCATEGORY

    Thread Starter mrppp

    (@mrppp)

    Not that i can see in any formatting under FORMATTING-EVENTS

    Nothing that is listed under the reference guide for Category Related Placeholders

    Thread Starter mrppp

    (@mrppp)

    Default event list format header

    <table cellpadding="0" cellspacing="0" class="events-table" >
        <thead>
            <tr>
    			<th class="event-time" width="150">Date/Time</th>
    		<th class="event-description" width="150">Event</th>
    		</tr>
       	</thead>
        <tbody>

    Default event list format

    <tr>
    			<td>
    
                    #_EVENTDATES
     #_EVENTTIMES
                   <br />
                </td>
                <td><br /><br />
                    #_EVENTLINK
                    {has_location}<br/><i>#_LOCATIONNAME, #_LOCATIONTOWN #_LOCATIONSTATE</i>{/has_location}
    
                </td>
            </tr>

    Default event list format footer
    </tbody></table>

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘WP 4.4 on test site errors’ is closed to new replies.