Skip to content
Public Ticket #18902

Undefined variable $meta_size

Conversation thread

kostas1986 replied

Customer Reply

Everything seems ok now. Thanks!

PenciDesign replied

Staff Reply

Hi,

Please send me your WordPress site admin URL and admin account ( username and password  ) - in a private reply. I will take a look at this to help you.  

Best Regards,

PenciDesign

kostas1986 started the conversation

Conversation Start

Dear Sir/Madam,

after updating to latest version 8.0.7 single post pages have stop working and i get the following php error.

AH01071: Got error 'PHP message: PHP Warning: Undefined variable $meta_size in /var/www/vhosts/......................./wp-content/themes/soledad/functions.php on line 4606PHP message: PHP Fatal error: Uncaught TypeError: implode(): Argument #1 ($pieces) must be of type array, string given in /var/www/vhosts/................../wp-content/themes/soledad/functions.php:4606 Stack trace: #0 /var/www/vhosts/....................../wp-content/themes/soledad/functions.php(4606): implode() #1 /var/www/vhosts/............................/wp-content/themes/soledad/content-single.php(226): penci_image_datasize() #2 /var/www/vhosts/....................../wp-includes/template.php(772): require('...') #3 /var/www/vhosts/......................../wp-includes/template.php(716): load_template() #4 /var/www/vhosts/................................../wp-includes/general-template.php(204): locate_template() #5 /var/www/vhosts/.........................../wp-content/themes/soledad/single.php(159): get_template_part() #6 /var/www/vhosts/......................./wp-includes/template-loader.php(106): include('...') #7 /var/www/v...'

When swtiching from child theme to normal theme everything is ok.

Child theme does not have any functions or hard customizations just using it to ovverride css styles and add google analytics code.

Any ideas?

Want to join this conversation or access attachments? Sign in first.