Please or Register to create posts and topics.

Parse error prevents activation

How do I fix this?

Parse error: syntax error, unexpected ‘view_name_addpost’ (T_STRING), expecting ‘)’ in /srv/4thcorner/wp-content/plugins/_asgaros-forum/includes/forum.php on line 130

Hey @robin4thcorner-com,

when did this error appear? Did you just install Asgaros Forum or did you make any changes to the source code?

You can also try to download the source code again and replace it manually on your webserver.

It seems like some files were edited, in this case the forum.php in the includes directory of Asgaros Forum. The error message tells that there is a problem at line 130 witch is just an array.

 

Need professional help with Asgaros Forum? Book an appointment with us at domra Web Solutions for setup and customization services. Learn more about our Toolbox for Asgaros Forum plugin to enhance your forum experience.

Yes, the error first appeared yesterday morning. We are making changes to fit a business need. Since it is a commercial use I signed up as a sponsor on Github. The error caused a critical problem and took down the site. The problem is resolved and the plugin is working again.

FYI – We are attempting to use the forum as a way of communicating with our clients. Our business involves work with lawyers and other parts of the legal community. If we can make the necessary adjustments the forum should fulfill our needs. We’re attempting to reduce the use of emails as much as possible.

Hello @robin4thcorner-com

If your team needs to make specific customizations and some specific filters/hooks could help to make them without directly touching the core-code of the plugin, then let me know so I can add them. 🙂

If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!