Hi
I wonder if JBD 5.3.2 is compatible with php 7.4.1 ?
I have an strange issu and suspect I can be lead to one of these extensions and wonder if anyone else have tested JBD 5.3.2 with php 7.4.1 ? It works on php 7.3 but not php 7.4 so when I change to php 7.4.1 I got this out of memory error.
I got this error Fatal error: Out of memory (allocated 42467328) (tried to allocate 1310720 bytes) in /libraries/src/Language/Language.php on line 777
and lead to this Joomla code
/**
* Loads a language file.
*
* This method will not note the successful loading of a file - use load() instead.
*
* @param string $fileName The name of the file.
* @param string $extension The name of the extension.
*
* @return boolean True if new strings have been added to the language
*
* @see Language::load()
* @since 1.7.0
*/
protected function loadLanguage($fileName, $extension = 'unknown')
{
$this->counter++;
$result = false;
$strings = $this->parse($fileName);
if ($strings !== array())
{
$this->strings = array_replace($this->strings, $strings, $this->override);
$result = true;
}
Maybe related to the save language issues as well?
Hi ssnobben
I´m using PHP 7.4 with JBD 5.3.2 and as far as I know I don´t have this issue you are writing about.
I do have some problem with the custom language file after updating to 5.3.2 it´s now more "randomly".
Some times it works when saving and some times not. How this might be from PHP 7.4 I could not say.
However it seems that JBD is not a "stable" version but more like a RC-2, some of the reported issue has been solved but not all.
Regards
Stephen
Hi Stephen
are you using php 7.4.1 ?
Hi
I'm not sure.
When I checked with my hosting it just says PHP Version 7.4.
Yes you easy check this in Joomla backend by top menu System Administration -->System Information -- Look down php version: xxx
Hi ssnobben
Sorry didn't think of that (how easy it could be sometimes).
However yes it's 7.4.1 according to Joomla.
Regards
Stephen
Ok great!
I got it to work now also with php 7.4.1 so it was a hosting Multi php manager problem and when they set it to "inherent" it worked for some reason.
hmm very strange though. :)
I could get my site working with php 7.4.3 and in my case this could be solved i f I set the Multiphp settings to inherent - then it automatimagically works with this hosting providers latest php 7.4.3 version.
So its not 3pds or Joomla its a hosting problem in my case. But its very strange bcs if I set this in the cpanels multiphp setting to php 7 then it doesnt work!