Fatal error: Can't use function return value in write context

Help! I’m desperately trying to get my “alone” theme installed. I keep getting this message: Fatal error: Can’t use function return value in write context …wp-content/plugins/unyson-event-helper/functions.php on line 20.

I’m using wordpress version 4.7.2

I do have EventsPro (by Tribe) as an active plug-in

Line 20 reads: ‘maximum_spaces_per_booking_text’ => ( empty(fw_akg(‘maximum_spaces_per_booking’, $event_options)) ) ? ‘’ : sprintf( __(‘Maximum %s spaces per booking’, ‘bearsthemes’), fw_akg(‘maximum_spaces_per_booking’, $event_options)),

I have submitted a ticket but no answer yet. I’m anxious to get back into my site – I don’t even have access to my dashboard. Thank you to anyone who can help!!

Have you contacted the author directly yet? They will be your best bet - https://themeforest.net/item/alone-charity-multipurpose-nonprofit-wordpress-theme/15019939/support

Thanks!

Try to update your PHP version to at least 5.6.x

3 Likes

Thank you – I did contact the author yesterday and so far the issue isn’t resolved. I’ll keep at it, though!

Thank you … that did it!