Home User profile
tagDiv Member
This user did not write anything. So we are just showing here some random text to make the profile page look nice :)
nicole-rethink
tagDiv Member

Hi,

The error is visible when I am testing the new version of PHP. We are looking to move to 7.2 but cannot while encountering this error.

The Rethink theme is a child theme based on your newspaper theme. Are you saying the issue is there and not within the parent theme?

Thanks,
Shauna

nicole-rethink
tagDiv Member

Hi Catalin,

Thanks for your response.

When viewing any of our blog posts there is our header and a blank screen. You can see a screen shot here: https://drive.google.com/file/d/1Dj-c0Xvl0jvI4WxQJ9vdGuu91z-LV2qt/view?usp=sharing

If helpful, this is the full error:

14 PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function objToArray(), 1 passed in /nas/content/live/rethink2018/wp-content/themes/Rethink/single_template_2.php on line 64 and exactly 2 expected in /nas/content/live/rethink2018/wp-content/themes/Rethink/single_template_2.php:25\nStack trace:\n#0 /nas/content/live/rethink2018/wp-content/themes/Rethink/single_template_2.php(64): objToArray(Array)\n#1 /nas/content/live/rethink2018/wp-includes/template-loader.php(74): include(‘/nas/content/li…’)\n#2 /nas/content/live/rethink2018/wp-blog-header.php(19): require_once(‘/nas/content/li…’)\n#3 /nas/content/live/rethink2018/index.php(17): require(‘/nas/content/li…’)\n#4 {main}\n thrown in /nas/content/live/rethink2018/wp-content/themes/Rethink/single_template_2.php on line 25

Thanks,

Shauna

Viewing 2 posts - 1 through 2 (of 2 total)