• Resolved jorix

    (@jorix)


    PHP warnings on helper.php
    
    Warning: Attempt to read property "slug" on array in /wp-content/plugins/wp-event-solution/utils/helper.php on line 1484
    
    // Original code:
    
    foreach ( $terms as $value ) {
    	
    	$location_data[ $value->slug ] = $value->name;
    
    }
    
    
    // FIX : Add a check if is_object() && property_exists()
    
    foreach ( $terms as $value ) {
    
    	if (is_object($value) && property_exists($value, 'slug') && property_exists($value, 'name')) {
    
    	    $location_data[$value->slug] = $value->name;
    
    	}
    
    }

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Md Mahbub Morshed Chowdhury

    (@faheem96dev)

    Hi @jorix,

    Greetings, Thanks for getting in touch.

    We appreciate your feedback. Please allow us some time to check and make the change. Currently, we are working on our latest version and soon the final version will be released. You will get a new full refreshed edition of Eventin soon. Please wait and thanks for using our product.

    Good Day!

    Best Regards.

    Plugin Support Md Mahbub Morshed Chowdhury

    (@faheem96dev)

    Hi @jorix,

    As we haven’t heard back from you, we’re assuming the issue has been resolved. If you need further assistance, feel free to reopen this thread or start a new one. Thanks for reaching out!”

    Have a good day!

    Best Regards

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