Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #62972


Ignore:
Timestamp:
02/16/2025 04:42:14 AM (2 months ago)
Author:
sabernhardt
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #62972

    • Property Version changed from trunk to
    • Property Component changed from Themes to Bundled Theme
  • Ticket #62972 – Description

    initial v1  
    44}}}
    55
    6 
    7   Fatal error: Uncaught TypeError: urlencode(): Argument #1 ($string) must be of type string, array given in /test/wp-content/themes/twentyfourteen/inc/template-tags.php:50 Stack trace: #0 [internal function]: urlencode(Array) #1 /test/wp-content/themes/twentyfourteen/inc/template-tags.php(50): array_map('urlencode', Array) #2 /test/wp-content/themes/twentyfourteen/index.php(46): twentyfourteen_paging_nav() #3 /test/wp-includes/template-loader.php(106): include('/Users/miyoshit...') #4 /test/wp-blog-header.php(19): require_once('/test...') #5 /test/index.php(17): require('/test...') #6 {main} thrown in /test/wp-content/themes/twentyfourteen/inc/template-tags.php on line 50
     6`Fatal error: Uncaught TypeError: urlencode(): Argument #1 ($string) must be of type string, array given in /wp-content/themes/twentyfourteen/inc/template-tags.php:50`
     7{{{
     8Stack trace:
     9#0 [internal function]: urlencode(Array)
     10#1 /wp-content/themes/twentyfourteen/inc/template-tags.php(50): array_map('urlencode', Array)
     11#2 /wp-content/themes/twentyfourteen/index.php(46): twentyfourteen_paging_nav()
     12#3 /wp-includes/template-loader.php(106): include('/Users/...')
     13#4 /wp-blog-header.php(19): require_once('/test...')
     14#5 /index.php(17): require('/test...')
     15#6 {main} thrown in /wp-content/themes/twentyfourteen/inc/template-tags.php on line 50
     16}}}
    817
    918This error occurs because [https://core.trac.wordpress.org/browser/tags/6.7.2/src/wp-content/themes/twentyfourteen/inc/template-tags.php twentyfourteen_paging_nav()] does not expect array variables.