rcmb
Forum Replies Created
-
I have discovered that I can easily change my PHP version in cPanel. I set it to v7.4 as you suggested and it’s done the trick!! So far no problems with other plug-ins noticed.
Many thanks for your help.
Hi Poonam
Thank you for your suggestions. I do appreciate the need to keep up to date with software but unfortunately my hands are tied with regard to upgrading PHP. I will contact my hosting company as you suggest.
It is objecting to “unexpected ‘(‘ “.
<?php // autoload_real.php @generated by Composer class ComposerAutoloaderInit13a4206e48217fda3df03a3590a64aae { private static $loader; public static function loadClassLoader($class) { if ('Composer\Autoload\ClassLoader' === $class) { require __DIR__ . '/ClassLoader.php'; } } /** * @return \Composer\Autoload\ClassLoader */ public static function getLoader() { if (null !== self::$loader) { return self::$loader; } require __DIR__ . '/platform_check.php'; spl_autoload_register(array('ComposerAutoloaderInit13a4206e48217fda3df03a3590a64aae', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); spl_autoload_unregister(array('ComposerAutoloaderInit13a4206e48217fda3df03a3590a64aae', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; call_user_func(\Composer\Autoload\ComposerStaticInit13a4206e48217fda3df03a3590a64aae::getInitializer($loader)); $loader->register(true); $filesToLoad = \Composer\Autoload\ComposerStaticInit13a4206e48217fda3df03a3590a64aae::$files; $requireFile = static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; require $file; } }; foreach ($filesToLoad as $fileIdentifier => $file) { ($requireFile)($fileIdentifier, $file); } return $loader; } }My sites is on PHP (5.6.40).
WordPress version 6.1.1 Active theme: Hestia (version 3.0.16) Current plugin: Visualizer: Tables and Charts for WordPress (version 3.9.4) PHP version 5.6.40
However, I cannot upgrade as I get:
WordPress recommends everyone update their PHP versions, but this is often not possible.This is why your site is using HardenedPHP, by CloudLinux.HardenedPHP is a way of supporting older versions of PHP without compromising security.If you’ve been brought here by WordPress’s PHP update warnings, there is nothing you need to do.
I don’t think the problem is to do with the version of PHP or other plugins. I think there is an error in file autoload_real.php
I will try and attach the file.