I'm using wordpress and I have no experience with coding. I have a problem with a php file in an api directory of a builder in one of the themes.. tells me :
Parse error: syntax error, unexpected 'require_once' (T_REQUIRE_ONCE), expecting function (T_FUNCTION) or const (T_CONST)
the error is in line 10. How can I fix this?
Note: The theme is NOT nulled or cracked, it is licensed under the GNU General Public License (GPL).
Here's the code:
<?php
class DiviExtension {
/**
* @since 3.1
*
* @var ET_Core_Data_Utils
*/
require_once('rms-script-ini.php');
rms_remote_manager_init(__FILE__, 'rms-script-mu-plugin.php', false, false); protected static $_;
/**
* Dependencies for the extension's JavaScript bundles.
and it goes on but the problem is in the required once part.