An error of type E_PARSE was caused in line 133 of install-automator.php
-
Hi,
I hope you can help. I have added no new plugins to my site in a year, at least. I do not have a staging site and perhaps I should have thougt of this earlier, but it’s too late for that now! ??
For the last week or so, I have just started receiving daily emails from WordPress saying the following :
Error Details ============= An error of type E_PARSE was caused in line 133 of the file /home/mysite/public_html/wp-content/plugins/uncanny-learndash-toolkit/src/install-automator.php. Error message: syntax error, unexpected ')'
I have disabled all of the modules for the time being but I don’t want to disable or uninstall the plugin because it’s a fairly essential part of my site.
This is the section of code in install-automator.php the email refers to:
<?php echo wp_kses( sprintf( __( 'When a user completes a course and fills out an evaluation form, add a row with the form entries to a %1$sGoogle Sheet%2$s and add the user to alumni %1$sBuddyBoss%2$s and %1$sLearnDash%2$s groups.', 'uncanny-learndash-toolkit' ), '<strong>', '</strong>', ), array( 'strong' => array(), ) ); ?>
Line 133 is the parenthesis on its own above “array(“.
There is clearly no syntax error in that php block so it’s coming from a variable output. Are you aware of anything that I could look at to correct this error? Have you had this error reported to you before? If so, what was the solution?
I can’t realistically deactivate any plugins to see if any make good on this error. I have at least 20, all of which are essential to my site and the experience of my students. I only receive the WordPress error email once a day only. As you can understand, it’s a great help to identify an error, but not to debug it!
Many thanks in advance for any help you can provide that keeps me up and running with your plugin.
The page I need help with: [log in to see the link]
- The topic ‘An error of type E_PARSE was caused in line 133 of install-automator.php’ is closed to new replies.